var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762225&x=1546',
		'title': '',
		'imageId': '67762225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762240&x=1546',
		'title': '',
		'imageId': '67762240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762227&x=1546',
		'title': '',
		'imageId': '67762227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762243&x=1546',
		'title': '',
		'imageId': '67762243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762220&x=1546',
		'title': '',
		'imageId': '67762220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762221&x=1546',
		'title': '',
		'imageId': '67762221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762242&x=1546',
		'title': '',
		'imageId': '67762242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762236&x=1546',
		'title': '',
		'imageId': '67762236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762232&x=1546',
		'title': '',
		'imageId': '67762232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762241&x=1546',
		'title': '',
		'imageId': '67762241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762238&x=1546',
		'title': '',
		'imageId': '67762238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762226&x=1546',
		'title': '',
		'imageId': '67762226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762229&x=1546',
		'title': '',
		'imageId': '67762229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762228&x=1546',
		'title': '',
		'imageId': '67762228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762237&x=1546',
		'title': '',
		'imageId': '67762237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762224&x=1546',
		'title': '',
		'imageId': '67762224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762234&x=1546',
		'title': '',
		'imageId': '67762234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762233&x=1546',
		'title': '',
		'imageId': '67762233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762235&x=1546',
		'title': '',
		'imageId': '67762235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762239&x=1546',
		'title': '',
		'imageId': '67762239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762223&x=1546',
		'title': '',
		'imageId': '67762223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762230&x=1546',
		'title': '',
		'imageId': '67762230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762231&x=1546',
		'title': '',
		'imageId': '67762231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903081&docid=67762222&x=1546',
		'title': '',
		'imageId': '67762222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3903081';

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