var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762578&x=3156',
		'title': '',
		'imageId': '67762578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762563&x=3156',
		'title': '',
		'imageId': '67762563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762577&x=3156',
		'title': '',
		'imageId': '67762577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762574&x=3156',
		'title': '',
		'imageId': '67762574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762562&x=3156',
		'title': '',
		'imageId': '67762562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762572&x=3156',
		'title': '',
		'imageId': '67762572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762564&x=3156',
		'title': '',
		'imageId': '67762564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762567&x=3156',
		'title': '',
		'imageId': '67762567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762579&x=3156',
		'title': '',
		'imageId': '67762579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762569&x=3156',
		'title': '',
		'imageId': '67762569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762565&x=3156',
		'title': '',
		'imageId': '67762565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762585&x=3156',
		'title': '',
		'imageId': '67762585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762570&x=3156',
		'title': '',
		'imageId': '67762570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762580&x=3156',
		'title': '',
		'imageId': '67762580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762575&x=3156',
		'title': '',
		'imageId': '67762575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762584&x=3156',
		'title': '',
		'imageId': '67762584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762583&x=3156',
		'title': '',
		'imageId': '67762583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762571&x=3156',
		'title': '',
		'imageId': '67762571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762576&x=3156',
		'title': '',
		'imageId': '67762576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762581&x=3156',
		'title': '',
		'imageId': '67762581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762573&x=3156',
		'title': '',
		'imageId': '67762573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67829421&x=3156',
		'title': '',
		'imageId': '67829421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762566&x=3156',
		'title': '',
		'imageId': '67762566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907248&docid=67762582&x=3156',
		'title': '',
		'imageId': '67762582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3907248';

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