var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626307&x=4358',
		'title': '',
		'imageId': '626307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626308&x=4358',
		'title': '',
		'imageId': '626308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626309&x=4358',
		'title': '',
		'imageId': '626309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626310&x=4358',
		'title': '',
		'imageId': '626310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626311&x=4358',
		'title': '',
		'imageId': '626311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626312&x=4358',
		'title': '',
		'imageId': '626312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626313&x=4358',
		'title': '',
		'imageId': '626313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626314&x=4358',
		'title': '',
		'imageId': '626314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626315&x=4358',
		'title': '',
		'imageId': '626315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626316&x=4358',
		'title': '',
		'imageId': '626316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626317&x=4358',
		'title': '',
		'imageId': '626317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626318&x=4358',
		'title': '',
		'imageId': '626318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626319&x=4358',
		'title': '',
		'imageId': '626319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626320&x=4358',
		'title': '',
		'imageId': '626320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626321&x=4358',
		'title': '',
		'imageId': '626321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626322&x=4358',
		'title': '',
		'imageId': '626322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626323&x=4358',
		'title': '',
		'imageId': '626323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626324&x=4358',
		'title': '',
		'imageId': '626324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626325&x=4358',
		'title': '',
		'imageId': '626325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626326&x=4358',
		'title': '',
		'imageId': '626326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626327&x=4358',
		'title': '',
		'imageId': '626327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626328&x=4358',
		'title': '',
		'imageId': '626328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626329&x=4358',
		'title': '',
		'imageId': '626329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179542&docid=626330&x=4358',
		'title': '',
		'imageId': '626330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #179542';

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