var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=69801803&x=5938',
		'title': '',
		'imageId': '69801803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=69801795&x=5938',
		'title': '',
		'imageId': '69801795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=69801804&x=5938',
		'title': '',
		'imageId': '69801804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=69801797&x=5938',
		'title': '',
		'imageId': '69801797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=69801810&x=5938',
		'title': '',
		'imageId': '69801810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=69801813&x=5938',
		'title': '',
		'imageId': '69801813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=69801816&x=5938',
		'title': '',
		'imageId': '69801816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=69801814&x=5938',
		'title': '',
		'imageId': '69801814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=69801806&x=5938',
		'title': '',
		'imageId': '69801806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=69801815&x=5938',
		'title': '',
		'imageId': '69801815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=69801796&x=5938',
		'title': '',
		'imageId': '69801796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=69801811&x=5938',
		'title': '',
		'imageId': '69801811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=69801798&x=5938',
		'title': '',
		'imageId': '69801798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=69801812&x=5938',
		'title': '',
		'imageId': '69801812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=69801799&x=5938',
		'title': '',
		'imageId': '69801799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=69801808&x=5938',
		'title': '',
		'imageId': '69801808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=69801809&x=5938',
		'title': '',
		'imageId': '69801809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=69801801&x=5938',
		'title': '',
		'imageId': '69801801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=69801802&x=5938',
		'title': '',
		'imageId': '69801802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=69801805&x=5938',
		'title': '',
		'imageId': '69801805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=69801800&x=5938',
		'title': '',
		'imageId': '69801800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=69801807&x=5938',
		'title': '',
		'imageId': '69801807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=59270415&x=5938',
		'title': '',
		'imageId': '59270415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003648&docid=59270407&x=5938',
		'title': '',
		'imageId': '59270407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003648';

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