var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452760&x=453',
		'title': '',
		'imageId': '70452760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452739&x=453',
		'title': '',
		'imageId': '70452739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452741&x=453',
		'title': '',
		'imageId': '70452741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452744&x=453',
		'title': '',
		'imageId': '70452744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452740&x=453',
		'title': '',
		'imageId': '70452740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452753&x=453',
		'title': '',
		'imageId': '70452753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452743&x=453',
		'title': '',
		'imageId': '70452743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452755&x=453',
		'title': '',
		'imageId': '70452755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452742&x=453',
		'title': '',
		'imageId': '70452742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452745&x=453',
		'title': '',
		'imageId': '70452745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452746&x=453',
		'title': '',
		'imageId': '70452746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452749&x=453',
		'title': '',
		'imageId': '70452749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452759&x=453',
		'title': '',
		'imageId': '70452759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452748&x=453',
		'title': '',
		'imageId': '70452748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452761&x=453',
		'title': '',
		'imageId': '70452761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452762&x=453',
		'title': '',
		'imageId': '70452762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452756&x=453',
		'title': '',
		'imageId': '70452756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452754&x=453',
		'title': '',
		'imageId': '70452754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452752&x=453',
		'title': '',
		'imageId': '70452752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452747&x=453',
		'title': '',
		'imageId': '70452747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452750&x=453',
		'title': '',
		'imageId': '70452750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452758&x=453',
		'title': '',
		'imageId': '70452758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029786&docid=70452757&x=453',
		'title': '',
		'imageId': '70452757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4029786';

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