var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4066596&docid=71403847&x=3542',
		'title': '',
		'imageId': '71403847',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066596&docid=71403845&x=3542',
		'title': '',
		'imageId': '71403845',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066596&docid=71403846&x=3542',
		'title': '',
		'imageId': '71403846',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066596&docid=71403848&x=3542',
		'title': '',
		'imageId': '71403848',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066596&docid=71403849&x=3542',
		'title': '',
		'imageId': '71403849',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066596&docid=71403850&x=3542',
		'title': '',
		'imageId': '71403850',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066596&docid=71403851&x=3542',
		'title': '',
		'imageId': '71403851',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066596&docid=71403852&x=3542',
		'title': '',
		'imageId': '71403852',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066596&docid=71403853&x=3542',
		'title': '',
		'imageId': '71403853',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066596&docid=71403854&x=3542',
		'title': '',
		'imageId': '71403854',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066596&docid=71403855&x=3542',
		'title': '',
		'imageId': '71403855',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066596&docid=71403856&x=3542',
		'title': '',
		'imageId': '71403856',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066596&docid=71403857&x=3542',
		'title': '',
		'imageId': '71403857',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066596&docid=71403858&x=3542',
		'title': '',
		'imageId': '71403858',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066596&docid=71403859&x=3542',
		'title': '',
		'imageId': '71403859',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066596&docid=71403860&x=3542',
		'title': '',
		'imageId': '71403860',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066596&docid=71403861&x=3542',
		'title': '',
		'imageId': '71403861',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066596&docid=71403862&x=3542',
		'title': '',
		'imageId': '71403862',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4066596';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
