var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784515&x=534',
		'title': '',
		'imageId': '69784515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784521&x=534',
		'title': '',
		'imageId': '69784521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784527&x=534',
		'title': '',
		'imageId': '69784527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784528&x=534',
		'title': '',
		'imageId': '69784528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784532&x=534',
		'title': '',
		'imageId': '69784532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784483&x=534',
		'title': '',
		'imageId': '69784483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784537&x=534',
		'title': '',
		'imageId': '69784537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784490&x=534',
		'title': '',
		'imageId': '69784490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784534&x=534',
		'title': '',
		'imageId': '69784534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784480&x=534',
		'title': '',
		'imageId': '69784480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784482&x=534',
		'title': '',
		'imageId': '69784482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784491&x=534',
		'title': '',
		'imageId': '69784491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784479&x=534',
		'title': '',
		'imageId': '69784479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784481&x=534',
		'title': '',
		'imageId': '69784481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784478&x=534',
		'title': '',
		'imageId': '69784478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784494&x=534',
		'title': '',
		'imageId': '69784494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784497&x=534',
		'title': '',
		'imageId': '69784497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784501&x=534',
		'title': '',
		'imageId': '69784501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784500&x=534',
		'title': '',
		'imageId': '69784500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784504&x=534',
		'title': '',
		'imageId': '69784504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784507&x=534',
		'title': '',
		'imageId': '69784507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784511&x=534',
		'title': '',
		'imageId': '69784511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784516&x=534',
		'title': '',
		'imageId': '69784516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002991&docid=69784522&x=534',
		'title': '',
		'imageId': '69784522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4002991';

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