var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737276&x=3915',
		'title': '',
		'imageId': '62737276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737277&x=3915',
		'title': '',
		'imageId': '62737277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737278&x=3915',
		'title': '',
		'imageId': '62737278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737279&x=3915',
		'title': '',
		'imageId': '62737279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737280&x=3915',
		'title': '',
		'imageId': '62737280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737281&x=3915',
		'title': '',
		'imageId': '62737281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737282&x=3915',
		'title': '',
		'imageId': '62737282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737283&x=3915',
		'title': '',
		'imageId': '62737283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737284&x=3915',
		'title': '',
		'imageId': '62737284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737285&x=3915',
		'title': '',
		'imageId': '62737285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737286&x=3915',
		'title': '',
		'imageId': '62737286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737287&x=3915',
		'title': '',
		'imageId': '62737287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737288&x=3915',
		'title': '',
		'imageId': '62737288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737289&x=3915',
		'title': '',
		'imageId': '62737289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737290&x=3915',
		'title': '',
		'imageId': '62737290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737291&x=3915',
		'title': '',
		'imageId': '62737291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737292&x=3915',
		'title': '',
		'imageId': '62737292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737293&x=3915',
		'title': '',
		'imageId': '62737293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737294&x=3915',
		'title': '',
		'imageId': '62737294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737295&x=3915',
		'title': '',
		'imageId': '62737295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737296&x=3915',
		'title': '',
		'imageId': '62737296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737297&x=3915',
		'title': '',
		'imageId': '62737297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993545&docid=62737298&x=3915',
		'title': '',
		'imageId': '62737298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3993545';

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