var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950813&docid=68605448&x=2530',
		'title': '',
		'imageId': '68605448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950813&docid=68605444&x=2530',
		'title': '',
		'imageId': '68605444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950813&docid=68605449&x=2530',
		'title': '',
		'imageId': '68605449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950813&docid=68605447&x=2530',
		'title': '',
		'imageId': '68605447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950813&docid=68605446&x=2530',
		'title': '',
		'imageId': '68605446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950813&docid=68605441&x=2530',
		'title': '',
		'imageId': '68605441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950813&docid=68605443&x=2530',
		'title': '',
		'imageId': '68605443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950813&docid=68605450&x=2530',
		'title': '',
		'imageId': '68605450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950813&docid=68605451&x=2530',
		'title': '',
		'imageId': '68605451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950813&docid=68605445&x=2530',
		'title': '',
		'imageId': '68605445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950813&docid=68605442&x=2530',
		'title': '',
		'imageId': '68605442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950813&docid=68605452&x=2530',
		'title': '',
		'imageId': '68605452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950813';

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