var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839532&x=456',
		'title': '',
		'imageId': '68839532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839529&x=456',
		'title': '',
		'imageId': '68839529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839535&x=456',
		'title': '',
		'imageId': '68839535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839536&x=456',
		'title': '',
		'imageId': '68839536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839537&x=456',
		'title': '',
		'imageId': '68839537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839533&x=456',
		'title': '',
		'imageId': '68839533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839534&x=456',
		'title': '',
		'imageId': '68839534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839627&x=456',
		'title': '',
		'imageId': '68839627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839539&x=456',
		'title': '',
		'imageId': '68839539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839538&x=456',
		'title': '',
		'imageId': '68839538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839540&x=456',
		'title': '',
		'imageId': '68839540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839530&x=456',
		'title': '',
		'imageId': '68839530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839542&x=456',
		'title': '',
		'imageId': '68839542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839541&x=456',
		'title': '',
		'imageId': '68839541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839543&x=456',
		'title': '',
		'imageId': '68839543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839590&x=456',
		'title': '',
		'imageId': '68839590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839626&x=456',
		'title': '',
		'imageId': '68839626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839625&x=456',
		'title': '',
		'imageId': '68839625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839578&x=456',
		'title': '',
		'imageId': '68839578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839531&x=456',
		'title': '',
		'imageId': '68839531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839576&x=456',
		'title': '',
		'imageId': '68839576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839577&x=456',
		'title': '',
		'imageId': '68839577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839579&x=456',
		'title': '',
		'imageId': '68839579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839580&x=456',
		'title': '',
		'imageId': '68839580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839581&x=456',
		'title': '',
		'imageId': '68839581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839582&x=456',
		'title': '',
		'imageId': '68839582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839583&x=456',
		'title': '',
		'imageId': '68839583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839584&x=456',
		'title': '',
		'imageId': '68839584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839586&x=456',
		'title': '',
		'imageId': '68839586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839585&x=456',
		'title': '',
		'imageId': '68839585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839587&x=456',
		'title': '',
		'imageId': '68839587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839589&x=456',
		'title': '',
		'imageId': '68839589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839588&x=456',
		'title': '',
		'imageId': '68839588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839623&x=456',
		'title': '',
		'imageId': '68839623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839575&x=456',
		'title': '',
		'imageId': '68839575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952660&docid=68839624&x=456',
		'title': '',
		'imageId': '68839624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952660';

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