var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014387&docid=69765377&x=518',
		'title': '',
		'imageId': '69765377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014387&docid=69765376&x=518',
		'title': '',
		'imageId': '69765376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014387&docid=69765374&x=518',
		'title': '',
		'imageId': '69765374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014387&docid=69765382&x=518',
		'title': '',
		'imageId': '69765382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014387&docid=69765378&x=518',
		'title': '',
		'imageId': '69765378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014387&docid=69765383&x=518',
		'title': '',
		'imageId': '69765383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014387&docid=69765375&x=518',
		'title': '',
		'imageId': '69765375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014387&docid=69765380&x=518',
		'title': '',
		'imageId': '69765380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014387&docid=69765379&x=518',
		'title': '',
		'imageId': '69765379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014387&docid=69765381&x=518',
		'title': '',
		'imageId': '69765381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014387';

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