var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904885&x=210',
		'title': '',
		'imageId': '69904885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904907&x=210',
		'title': '',
		'imageId': '69904907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904925&x=210',
		'title': '',
		'imageId': '69904925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904939&x=210',
		'title': '',
		'imageId': '69904939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904952&x=210',
		'title': '',
		'imageId': '69904952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904935&x=210',
		'title': '',
		'imageId': '69904935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904904&x=210',
		'title': '',
		'imageId': '69904904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904923&x=210',
		'title': '',
		'imageId': '69904923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904910&x=210',
		'title': '',
		'imageId': '69904910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904927&x=210',
		'title': '',
		'imageId': '69904927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904933&x=210',
		'title': '',
		'imageId': '69904933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904890&x=210',
		'title': '',
		'imageId': '69904890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904940&x=210',
		'title': '',
		'imageId': '69904940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904924&x=210',
		'title': '',
		'imageId': '69904924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904906&x=210',
		'title': '',
		'imageId': '69904906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904913&x=210',
		'title': '',
		'imageId': '69904913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904887&x=210',
		'title': '',
		'imageId': '69904887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904929&x=210',
		'title': '',
		'imageId': '69904929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904934&x=210',
		'title': '',
		'imageId': '69904934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904889&x=210',
		'title': '',
		'imageId': '69904889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904938&x=210',
		'title': '',
		'imageId': '69904938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904948&x=210',
		'title': '',
		'imageId': '69904948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904953&x=210',
		'title': '',
		'imageId': '69904953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904891&x=210',
		'title': '',
		'imageId': '69904891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904941&x=210',
		'title': '',
		'imageId': '69904941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904949&x=210',
		'title': '',
		'imageId': '69904949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904892&x=210',
		'title': '',
		'imageId': '69904892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904946&x=210',
		'title': '',
		'imageId': '69904946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904950&x=210',
		'title': '',
		'imageId': '69904950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904956&x=210',
		'title': '',
		'imageId': '69904956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904897&x=210',
		'title': '',
		'imageId': '69904897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904932&x=210',
		'title': '',
		'imageId': '69904932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007788&docid=69904900&x=210',
		'title': '',
		'imageId': '69904900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007788';

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