var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4080204&docid=71713032&x=4630',
		'title': '',
		'imageId': '71713032',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080204&docid=71713031&x=4630',
		'title': '',
		'imageId': '71713031',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080204&docid=71713033&x=4630',
		'title': '',
		'imageId': '71713033',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080204&docid=71713034&x=4630',
		'title': '',
		'imageId': '71713034',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080204&docid=71713037&x=4630',
		'title': '',
		'imageId': '71713037',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080204&docid=71713040&x=4630',
		'title': '',
		'imageId': '71713040',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080204&docid=71713046&x=4630',
		'title': '',
		'imageId': '71713046',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080204&docid=71713055&x=4630',
		'title': '',
		'imageId': '71713055',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080204&docid=71713059&x=4630',
		'title': '',
		'imageId': '71713059',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080204&docid=71713024&x=4630',
		'title': '',
		'imageId': '71713024',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4080204&docid=71713021&x=4630',
		'title': '',
		'imageId': '71713021',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4080204';

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";
	})
}
