var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3981164&docid=69292407&x=425',
		'title': '',
		'imageId': '69292407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981164&docid=69292408&x=425',
		'title': '',
		'imageId': '69292408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981164&docid=69292409&x=425',
		'title': '',
		'imageId': '69292409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981164&docid=69292410&x=425',
		'title': '',
		'imageId': '69292410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981164&docid=69292411&x=425',
		'title': '',
		'imageId': '69292411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981164&docid=69292412&x=425',
		'title': '',
		'imageId': '69292412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981164&docid=69292413&x=425',
		'title': '',
		'imageId': '69292413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981164&docid=69292414&x=425',
		'title': '',
		'imageId': '69292414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981164&docid=69292415&x=425',
		'title': '',
		'imageId': '69292415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981164&docid=69292416&x=425',
		'title': '',
		'imageId': '69292416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981164&docid=69292417&x=425',
		'title': '',
		'imageId': '69292417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981164&docid=69292418&x=425',
		'title': '',
		'imageId': '69292418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3981164';

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