var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3909046&docid=67667395&x=295',
		'title': '',
		'imageId': '67667395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909046&docid=67667398&x=295',
		'title': '',
		'imageId': '67667398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909046&docid=67667384&x=295',
		'title': '',
		'imageId': '67667384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909046&docid=67667434&x=295',
		'title': '',
		'imageId': '67667434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909046&docid=67667382&x=295',
		'title': '',
		'imageId': '67667382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909046&docid=67667387&x=295',
		'title': '',
		'imageId': '67667387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909046&docid=67667407&x=295',
		'title': '',
		'imageId': '67667407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909046&docid=67667408&x=295',
		'title': '',
		'imageId': '67667408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909046&docid=67667383&x=295',
		'title': '',
		'imageId': '67667383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909046&docid=67667393&x=295',
		'title': '',
		'imageId': '67667393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909046&docid=67667389&x=295',
		'title': '',
		'imageId': '67667389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909046&docid=67667386&x=295',
		'title': '',
		'imageId': '67667386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909046&docid=67667381&x=295',
		'title': '',
		'imageId': '67667381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909046&docid=67667394&x=295',
		'title': '',
		'imageId': '67667394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909046&docid=67667385&x=295',
		'title': '',
		'imageId': '67667385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909046&docid=67667390&x=295',
		'title': '',
		'imageId': '67667390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909046&docid=67667391&x=295',
		'title': '',
		'imageId': '67667391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909046&docid=67667388&x=295',
		'title': '',
		'imageId': '67667388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909046&docid=67667392&x=295',
		'title': '',
		'imageId': '67667392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909046&docid=67667426&x=295',
		'title': '',
		'imageId': '67667426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909046&docid=59270415&x=295',
		'title': '',
		'imageId': '59270415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909046&docid=59270407&x=295',
		'title': '',
		'imageId': '59270407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3909046';

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