var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946511&docid=66442375&x=245',
		'title': '',
		'imageId': '66442375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946511&docid=66442377&x=245',
		'title': '',
		'imageId': '66442377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946511&docid=66442378&x=245',
		'title': '',
		'imageId': '66442378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946511&docid=66442379&x=245',
		'title': '',
		'imageId': '66442379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946511&docid=66442380&x=245',
		'title': '',
		'imageId': '66442380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946511&docid=66442381&x=245',
		'title': '',
		'imageId': '66442381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946511&docid=66442384&x=245',
		'title': '',
		'imageId': '66442384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946511&docid=66442385&x=245',
		'title': '',
		'imageId': '66442385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946511&docid=66442386&x=245',
		'title': '',
		'imageId': '66442386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946511&docid=66442387&x=245',
		'title': '',
		'imageId': '66442387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946511&docid=66442382&x=245',
		'title': '',
		'imageId': '66442382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946511&docid=66442383&x=245',
		'title': '',
		'imageId': '66442383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946511';

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