var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956122&docid=68729202&x=2031',
		'title': '',
		'imageId': '68729202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956122&docid=68729205&x=2031',
		'title': '',
		'imageId': '68729205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956122&docid=68729207&x=2031',
		'title': '',
		'imageId': '68729207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956122&docid=68729201&x=2031',
		'title': '',
		'imageId': '68729201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956122&docid=68729206&x=2031',
		'title': '',
		'imageId': '68729206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956122&docid=68729211&x=2031',
		'title': '',
		'imageId': '68729211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956122&docid=68729204&x=2031',
		'title': '',
		'imageId': '68729204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956122&docid=68729210&x=2031',
		'title': '',
		'imageId': '68729210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956122&docid=68729209&x=2031',
		'title': '',
		'imageId': '68729209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956122&docid=68729208&x=2031',
		'title': '',
		'imageId': '68729208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956122&docid=68729203&x=2031',
		'title': '',
		'imageId': '68729203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956122';

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