var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4052505&docid=71049695&x=1258',
		'title': '',
		'imageId': '71049695',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052505&docid=71049697&x=1258',
		'title': '',
		'imageId': '71049697',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052505&docid=71049705&x=1258',
		'title': '',
		'imageId': '71049705',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052505&docid=71049712&x=1258',
		'title': '',
		'imageId': '71049712',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052505&docid=71049696&x=1258',
		'title': '',
		'imageId': '71049696',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052505&docid=71049710&x=1258',
		'title': '',
		'imageId': '71049710',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052505&docid=71049708&x=1258',
		'title': '',
		'imageId': '71049708',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052505&docid=71049704&x=1258',
		'title': '',
		'imageId': '71049704',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052505&docid=71049700&x=1258',
		'title': '',
		'imageId': '71049700',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052505&docid=71049702&x=1258',
		'title': '',
		'imageId': '71049702',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052505&docid=71049711&x=1258',
		'title': '',
		'imageId': '71049711',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052505&docid=71049703&x=1258',
		'title': '',
		'imageId': '71049703',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052505&docid=71049709&x=1258',
		'title': '',
		'imageId': '71049709',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052505&docid=71049707&x=1258',
		'title': '',
		'imageId': '71049707',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052505&docid=71049706&x=1258',
		'title': '',
		'imageId': '71049706',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052505&docid=71049699&x=1258',
		'title': '',
		'imageId': '71049699',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052505&docid=71049701&x=1258',
		'title': '',
		'imageId': '71049701',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052505&docid=71049698&x=1258',
		'title': '',
		'imageId': '71049698',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4052505';

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