var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622131&x=933',
		'title': '',
		'imageId': '70622131',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622132&x=933',
		'title': '',
		'imageId': '70622132',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622135&x=933',
		'title': '',
		'imageId': '70622135',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622140&x=933',
		'title': '',
		'imageId': '70622140',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622141&x=933',
		'title': '',
		'imageId': '70622141',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622134&x=933',
		'title': '',
		'imageId': '70622134',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622139&x=933',
		'title': '',
		'imageId': '70622139',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622138&x=933',
		'title': '',
		'imageId': '70622138',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622127&x=933',
		'title': '',
		'imageId': '70622127',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622142&x=933',
		'title': '',
		'imageId': '70622142',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622137&x=933',
		'title': '',
		'imageId': '70622137',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622136&x=933',
		'title': '',
		'imageId': '70622136',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622120&x=933',
		'title': '',
		'imageId': '70622120',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622143&x=933',
		'title': '',
		'imageId': '70622143',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622112&x=933',
		'title': '',
		'imageId': '70622112',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622133&x=933',
		'title': '',
		'imageId': '70622133',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622130&x=933',
		'title': '',
		'imageId': '70622130',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622119&x=933',
		'title': '',
		'imageId': '70622119',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622113&x=933',
		'title': '',
		'imageId': '70622113',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622111&x=933',
		'title': '',
		'imageId': '70622111',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622115&x=933',
		'title': '',
		'imageId': '70622115',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622110&x=933',
		'title': '',
		'imageId': '70622110',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622109&x=933',
		'title': '',
		'imageId': '70622109',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622108&x=933',
		'title': '',
		'imageId': '70622108',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622114&x=933',
		'title': '',
		'imageId': '70622114',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622118&x=933',
		'title': '',
		'imageId': '70622118',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622128&x=933',
		'title': '',
		'imageId': '70622128',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622123&x=933',
		'title': '',
		'imageId': '70622123',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622125&x=933',
		'title': '',
		'imageId': '70622125',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622121&x=933',
		'title': '',
		'imageId': '70622121',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622126&x=933',
		'title': '',
		'imageId': '70622126',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622124&x=933',
		'title': '',
		'imageId': '70622124',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622116&x=933',
		'title': '',
		'imageId': '70622116',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622117&x=933',
		'title': '',
		'imageId': '70622117',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622122&x=933',
		'title': '',
		'imageId': '70622122',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=70622129&x=933',
		'title': '',
		'imageId': '70622129',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=59270515&x=933',
		'title': ' ',
		'imageId': '59270515',
		'alt' : ' ',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056774&docid=59270516&x=933',
		'title': '',
		'imageId': '59270516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4056774';

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