var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3964239&docid=68735710&x=636',
		'title': '',
		'imageId': '68735710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964239&docid=68735709&x=636',
		'title': '',
		'imageId': '68735709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964239&docid=68735703&x=636',
		'title': '',
		'imageId': '68735703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964239&docid=68735702&x=636',
		'title': '',
		'imageId': '68735702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964239&docid=68735704&x=636',
		'title': '',
		'imageId': '68735704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964239&docid=68735705&x=636',
		'title': '',
		'imageId': '68735705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964239&docid=68735706&x=636',
		'title': '',
		'imageId': '68735706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964239&docid=68735707&x=636',
		'title': '',
		'imageId': '68735707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964239&docid=68735708&x=636',
		'title': '',
		'imageId': '68735708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964239&docid=68735711&x=636',
		'title': '',
		'imageId': '68735711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964239&docid=68735712&x=636',
		'title': '',
		'imageId': '68735712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964239&docid=68735713&x=636',
		'title': '',
		'imageId': '68735713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3964239';

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