var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626331&x=4333',
		'title': '',
		'imageId': '626331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626332&x=4333',
		'title': '',
		'imageId': '626332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626333&x=4333',
		'title': '',
		'imageId': '626333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626334&x=4333',
		'title': '',
		'imageId': '626334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626335&x=4333',
		'title': '',
		'imageId': '626335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626336&x=4333',
		'title': '',
		'imageId': '626336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626337&x=4333',
		'title': '',
		'imageId': '626337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626338&x=4333',
		'title': '',
		'imageId': '626338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626339&x=4333',
		'title': '',
		'imageId': '626339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626340&x=4333',
		'title': '',
		'imageId': '626340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626341&x=4333',
		'title': '',
		'imageId': '626341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626342&x=4333',
		'title': '',
		'imageId': '626342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626343&x=4333',
		'title': '',
		'imageId': '626343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626344&x=4333',
		'title': '',
		'imageId': '626344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626345&x=4333',
		'title': '',
		'imageId': '626345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626346&x=4333',
		'title': '',
		'imageId': '626346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626347&x=4333',
		'title': '',
		'imageId': '626347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626348&x=4333',
		'title': '',
		'imageId': '626348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626349&x=4333',
		'title': '',
		'imageId': '626349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626350&x=4333',
		'title': '',
		'imageId': '626350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626351&x=4333',
		'title': '',
		'imageId': '626351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626352&x=4333',
		'title': '',
		'imageId': '626352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179543&docid=626353&x=4333',
		'title': '',
		'imageId': '626353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #179543';

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