var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836163&x=4213',
		'title': '',
		'imageId': '69836163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836160&x=4213',
		'title': '',
		'imageId': '69836160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836162&x=4213',
		'title': '',
		'imageId': '69836162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836161&x=4213',
		'title': '',
		'imageId': '69836161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836166&x=4213',
		'title': '',
		'imageId': '69836166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836158&x=4213',
		'title': '',
		'imageId': '69836158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836178&x=4213',
		'title': '',
		'imageId': '69836178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836159&x=4213',
		'title': '',
		'imageId': '69836159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836173&x=4213',
		'title': '',
		'imageId': '69836173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836165&x=4213',
		'title': '',
		'imageId': '69836165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836179&x=4213',
		'title': '',
		'imageId': '69836179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836180&x=4213',
		'title': '',
		'imageId': '69836180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836177&x=4213',
		'title': '',
		'imageId': '69836177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836175&x=4213',
		'title': '',
		'imageId': '69836175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836172&x=4213',
		'title': '',
		'imageId': '69836172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836171&x=4213',
		'title': '',
		'imageId': '69836171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836176&x=4213',
		'title': '',
		'imageId': '69836176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836164&x=4213',
		'title': '',
		'imageId': '69836164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836174&x=4213',
		'title': '',
		'imageId': '69836174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836170&x=4213',
		'title': '',
		'imageId': '69836170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836169&x=4213',
		'title': '',
		'imageId': '69836169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836167&x=4213',
		'title': '',
		'imageId': '69836167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004962&docid=69836168&x=4213',
		'title': '',
		'imageId': '69836168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004962';

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