var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112390&x=4354',
		'title': '',
		'imageId': '70112390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112392&x=4354',
		'title': '',
		'imageId': '70112392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112402&x=4354',
		'title': '',
		'imageId': '70112402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112414&x=4354',
		'title': '',
		'imageId': '70112414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112417&x=4354',
		'title': '',
		'imageId': '70112417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112415&x=4354',
		'title': '',
		'imageId': '70112415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112405&x=4354',
		'title': '',
		'imageId': '70112405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112401&x=4354',
		'title': '',
		'imageId': '70112401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112396&x=4354',
		'title': '',
		'imageId': '70112396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112393&x=4354',
		'title': '',
		'imageId': '70112393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112400&x=4354',
		'title': '',
		'imageId': '70112400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112397&x=4354',
		'title': '',
		'imageId': '70112397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112398&x=4354',
		'title': '',
		'imageId': '70112398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112399&x=4354',
		'title': '',
		'imageId': '70112399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112395&x=4354',
		'title': '',
		'imageId': '70112395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112394&x=4354',
		'title': '',
		'imageId': '70112394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112412&x=4354',
		'title': '',
		'imageId': '70112412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112410&x=4354',
		'title': '',
		'imageId': '70112410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112419&x=4354',
		'title': '',
		'imageId': '70112419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112418&x=4354',
		'title': '',
		'imageId': '70112418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112416&x=4354',
		'title': '',
		'imageId': '70112416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112411&x=4354',
		'title': '',
		'imageId': '70112411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112409&x=4354',
		'title': '',
		'imageId': '70112409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112404&x=4354',
		'title': '',
		'imageId': '70112404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112413&x=4354',
		'title': '',
		'imageId': '70112413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112407&x=4354',
		'title': '',
		'imageId': '70112407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112391&x=4354',
		'title': '',
		'imageId': '70112391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112406&x=4354',
		'title': '',
		'imageId': '70112406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112389&x=4354',
		'title': '',
		'imageId': '70112389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112408&x=4354',
		'title': '',
		'imageId': '70112408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=70112403&x=4354',
		'title': '',
		'imageId': '70112403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=59270515&x=4354',
		'title': '',
		'imageId': '59270515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012940&docid=59270516&x=4354',
		'title': '',
		'imageId': '59270516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012940';

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