var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=67664946&x=235',
		'title': '',
		'imageId': '67664946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=67664942&x=235',
		'title': '',
		'imageId': '67664942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=67664960&x=235',
		'title': '',
		'imageId': '67664960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=67664959&x=235',
		'title': '',
		'imageId': '67664959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=67664949&x=235',
		'title': '',
		'imageId': '67664949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=67664961&x=235',
		'title': '',
		'imageId': '67664961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=67664948&x=235',
		'title': '',
		'imageId': '67664948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=67664962&x=235',
		'title': '',
		'imageId': '67664962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=67664956&x=235',
		'title': '',
		'imageId': '67664956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=67664944&x=235',
		'title': '',
		'imageId': '67664944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=67664955&x=235',
		'title': '',
		'imageId': '67664955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=67664941&x=235',
		'title': '',
		'imageId': '67664941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=67664957&x=235',
		'title': '',
		'imageId': '67664957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=67664943&x=235',
		'title': '',
		'imageId': '67664943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=67664950&x=235',
		'title': '',
		'imageId': '67664950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=67664952&x=235',
		'title': '',
		'imageId': '67664952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=67664947&x=235',
		'title': '',
		'imageId': '67664947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=67664953&x=235',
		'title': '',
		'imageId': '67664953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=67664945&x=235',
		'title': '',
		'imageId': '67664945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=67664954&x=235',
		'title': '',
		'imageId': '67664954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=67664951&x=235',
		'title': '',
		'imageId': '67664951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=67664958&x=235',
		'title': '',
		'imageId': '67664958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=59270415&x=235',
		'title': '',
		'imageId': '59270415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907890&docid=59270407&x=235',
		'title': '',
		'imageId': '59270407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3907890';

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