var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009272&docid=69944383&x=315',
		'title': '',
		'imageId': '69944383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009272&docid=69944382&x=315',
		'title': '',
		'imageId': '69944382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009272&docid=69944379&x=315',
		'title': '',
		'imageId': '69944379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009272&docid=69944384&x=315',
		'title': '',
		'imageId': '69944384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009272&docid=69944381&x=315',
		'title': '',
		'imageId': '69944381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009272&docid=69944380&x=315',
		'title': '',
		'imageId': '69944380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009272&docid=69944385&x=315',
		'title': '',
		'imageId': '69944385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009272&docid=69944386&x=315',
		'title': '',
		'imageId': '69944386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009272&docid=69944387&x=315',
		'title': '',
		'imageId': '69944387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009272&docid=69944378&x=315',
		'title': '',
		'imageId': '69944378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009272';

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