var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3969290&docid=69116209&x=590',
		'title': '',
		'imageId': '69116209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969290&docid=69116217&x=590',
		'title': '',
		'imageId': '69116217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969290&docid=69116210&x=590',
		'title': '',
		'imageId': '69116210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969290&docid=69116211&x=590',
		'title': '',
		'imageId': '69116211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969290&docid=69116214&x=590',
		'title': '',
		'imageId': '69116214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969290&docid=69116215&x=590',
		'title': '',
		'imageId': '69116215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969290&docid=69116216&x=590',
		'title': '',
		'imageId': '69116216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969290&docid=69116212&x=590',
		'title': '',
		'imageId': '69116212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969290&docid=69116213&x=590',
		'title': '',
		'imageId': '69116213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969290&docid=69128786&x=590',
		'title': '',
		'imageId': '69128786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3969290';

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