var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625747&x=5933',
		'title': '',
		'imageId': '625747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625748&x=5933',
		'title': '',
		'imageId': '625748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625749&x=5933',
		'title': '',
		'imageId': '625749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625750&x=5933',
		'title': '',
		'imageId': '625750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625751&x=5933',
		'title': '',
		'imageId': '625751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625752&x=5933',
		'title': '',
		'imageId': '625752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625753&x=5933',
		'title': '',
		'imageId': '625753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625754&x=5933',
		'title': '',
		'imageId': '625754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625755&x=5933',
		'title': '',
		'imageId': '625755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625756&x=5933',
		'title': '',
		'imageId': '625756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625757&x=5933',
		'title': '',
		'imageId': '625757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625758&x=5933',
		'title': '',
		'imageId': '625758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625759&x=5933',
		'title': '',
		'imageId': '625759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625760&x=5933',
		'title': '',
		'imageId': '625760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625761&x=5933',
		'title': '',
		'imageId': '625761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625762&x=5933',
		'title': '',
		'imageId': '625762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625763&x=5933',
		'title': '',
		'imageId': '625763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625764&x=5933',
		'title': '',
		'imageId': '625764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625765&x=5933',
		'title': '',
		'imageId': '625765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625766&x=5933',
		'title': '',
		'imageId': '625766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625767&x=5933',
		'title': '',
		'imageId': '625767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625768&x=5933',
		'title': '',
		'imageId': '625768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625769&x=5933',
		'title': '',
		'imageId': '625769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625770&x=5933',
		'title': '',
		'imageId': '625770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179506&docid=625771&x=5933',
		'title': '',
		'imageId': '625771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #179506';

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