var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972365&docid=69081213&x=3059',
		'title': '',
		'imageId': '69081213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972365&docid=69081204&x=3059',
		'title': '',
		'imageId': '69081204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972365&docid=69081208&x=3059',
		'title': '',
		'imageId': '69081208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972365&docid=69081202&x=3059',
		'title': '',
		'imageId': '69081202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972365&docid=69081203&x=3059',
		'title': '',
		'imageId': '69081203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972365&docid=69081211&x=3059',
		'title': '',
		'imageId': '69081211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972365&docid=69081210&x=3059',
		'title': '',
		'imageId': '69081210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972365&docid=69081207&x=3059',
		'title': '',
		'imageId': '69081207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972365&docid=69081205&x=3059',
		'title': '',
		'imageId': '69081205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972365&docid=69081206&x=3059',
		'title': '',
		'imageId': '69081206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972365&docid=69081209&x=3059',
		'title': '',
		'imageId': '69081209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972365';

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