var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980117&docid=69266527&x=2548',
		'title': '',
		'imageId': '69266527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980117&docid=69266543&x=2548',
		'title': '',
		'imageId': '69266543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980117&docid=69266531&x=2548',
		'title': '',
		'imageId': '69266531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980117&docid=69266534&x=2548',
		'title': '',
		'imageId': '69266534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980117&docid=69266529&x=2548',
		'title': '',
		'imageId': '69266529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980117&docid=69266536&x=2548',
		'title': '',
		'imageId': '69266536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980117&docid=69266535&x=2548',
		'title': '',
		'imageId': '69266535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980117&docid=69266533&x=2548',
		'title': '',
		'imageId': '69266533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980117&docid=69266528&x=2548',
		'title': '',
		'imageId': '69266528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980117&docid=69266532&x=2548',
		'title': '',
		'imageId': '69266532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980117&docid=69266530&x=2548',
		'title': '',
		'imageId': '69266530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980117&docid=69266537&x=2548',
		'title': '',
		'imageId': '69266537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980117&docid=69266525&x=2548',
		'title': '',
		'imageId': '69266525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980117&docid=69266526&x=2548',
		'title': '',
		'imageId': '69266526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980117&docid=69266540&x=2548',
		'title': '',
		'imageId': '69266540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980117&docid=69266538&x=2548',
		'title': '',
		'imageId': '69266538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980117&docid=69266541&x=2548',
		'title': '',
		'imageId': '69266541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980117&docid=69266545&x=2548',
		'title': '',
		'imageId': '69266545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980117&docid=69266539&x=2548',
		'title': '',
		'imageId': '69266539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980117&docid=69266542&x=2548',
		'title': '',
		'imageId': '69266542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980117&docid=69266544&x=2548',
		'title': '',
		'imageId': '69266544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980117';

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