var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112611&x=305',
		'title': '',
		'imageId': '70112611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112610&x=305',
		'title': '',
		'imageId': '70112610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112603&x=305',
		'title': '',
		'imageId': '70112603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112623&x=305',
		'title': '',
		'imageId': '70112623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112620&x=305',
		'title': '',
		'imageId': '70112620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112618&x=305',
		'title': '',
		'imageId': '70112618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112600&x=305',
		'title': '',
		'imageId': '70112600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112599&x=305',
		'title': '',
		'imageId': '70112599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112608&x=305',
		'title': '',
		'imageId': '70112608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112609&x=305',
		'title': '',
		'imageId': '70112609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112602&x=305',
		'title': '',
		'imageId': '70112602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112601&x=305',
		'title': '',
		'imageId': '70112601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112613&x=305',
		'title': '',
		'imageId': '70112613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112606&x=305',
		'title': '',
		'imageId': '70112606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112617&x=305',
		'title': '',
		'imageId': '70112617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112626&x=305',
		'title': '',
		'imageId': '70112626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112621&x=305',
		'title': '',
		'imageId': '70112621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112605&x=305',
		'title': '',
		'imageId': '70112605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112604&x=305',
		'title': '',
		'imageId': '70112604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112629&x=305',
		'title': '',
		'imageId': '70112629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112619&x=305',
		'title': '',
		'imageId': '70112619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112624&x=305',
		'title': '',
		'imageId': '70112624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112625&x=305',
		'title': '',
		'imageId': '70112625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112630&x=305',
		'title': '',
		'imageId': '70112630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112632&x=305',
		'title': '',
		'imageId': '70112632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112631&x=305',
		'title': '',
		'imageId': '70112631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112622&x=305',
		'title': '',
		'imageId': '70112622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112616&x=305',
		'title': '',
		'imageId': '70112616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112607&x=305',
		'title': '',
		'imageId': '70112607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112628&x=305',
		'title': '',
		'imageId': '70112628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112612&x=305',
		'title': '',
		'imageId': '70112612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112633&x=305',
		'title': '',
		'imageId': '70112633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112614&x=305',
		'title': '',
		'imageId': '70112614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112615&x=305',
		'title': '',
		'imageId': '70112615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=70112627&x=305',
		'title': '',
		'imageId': '70112627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=59270515&x=305',
		'title': '',
		'imageId': '59270515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012976&docid=59270516&x=305',
		'title': '',
		'imageId': '59270516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012976';

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