var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4062295&docid=71308333&x=5611',
		'title': '',
		'imageId': '71308333',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062295&docid=71308341&x=5611',
		'title': '',
		'imageId': '71308341',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062295&docid=71308344&x=5611',
		'title': '',
		'imageId': '71308344',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062295&docid=71308337&x=5611',
		'title': '',
		'imageId': '71308337',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062295&docid=71308336&x=5611',
		'title': '',
		'imageId': '71308336',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062295&docid=71308334&x=5611',
		'title': '',
		'imageId': '71308334',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062295&docid=71308335&x=5611',
		'title': '',
		'imageId': '71308335',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062295&docid=71308339&x=5611',
		'title': '',
		'imageId': '71308339',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062295&docid=71308340&x=5611',
		'title': '',
		'imageId': '71308340',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062295&docid=71308343&x=5611',
		'title': '',
		'imageId': '71308343',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062295&docid=71308338&x=5611',
		'title': '',
		'imageId': '71308338',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062295&docid=71308342&x=5611',
		'title': '',
		'imageId': '71308342',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062295&docid=71308347&x=5611',
		'title': '',
		'imageId': '71308347',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062295&docid=71308352&x=5611',
		'title': '',
		'imageId': '71308352',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062295&docid=71308350&x=5611',
		'title': '',
		'imageId': '71308350',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062295&docid=71308349&x=5611',
		'title': '',
		'imageId': '71308349',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062295&docid=71308351&x=5611',
		'title': '',
		'imageId': '71308351',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062295&docid=71308348&x=5611',
		'title': '',
		'imageId': '71308348',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062295&docid=71308346&x=5611',
		'title': '',
		'imageId': '71308346',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062295&docid=71308345&x=5611',
		'title': '',
		'imageId': '71308345',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4062295';

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