var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=70004273&x=2817',
		'title': '',
		'imageId': '70004273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=69983894&x=2817',
		'title': '',
		'imageId': '69983894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=69983907&x=2817',
		'title': '',
		'imageId': '69983907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=69983911&x=2817',
		'title': '',
		'imageId': '69983911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=69983895&x=2817',
		'title': '',
		'imageId': '69983895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=69983898&x=2817',
		'title': '',
		'imageId': '69983898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=69983918&x=2817',
		'title': '',
		'imageId': '69983918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=69983916&x=2817',
		'title': '',
		'imageId': '69983916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=69983925&x=2817',
		'title': '',
		'imageId': '69983925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=69983854&x=2817',
		'title': '',
		'imageId': '69983854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=70004358&x=2817',
		'title': '',
		'imageId': '70004358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=69983855&x=2817',
		'title': '',
		'imageId': '69983855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=69983858&x=2817',
		'title': '',
		'imageId': '69983858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=69983922&x=2817',
		'title': '',
		'imageId': '69983922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=69983930&x=2817',
		'title': '',
		'imageId': '69983930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=69983863&x=2817',
		'title': '',
		'imageId': '69983863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=69983866&x=2817',
		'title': '',
		'imageId': '69983866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=69983901&x=2817',
		'title': '',
		'imageId': '69983901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=69983935&x=2817',
		'title': '',
		'imageId': '69983935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=69983938&x=2817',
		'title': '',
		'imageId': '69983938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=69983906&x=2817',
		'title': '',
		'imageId': '69983906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=69983908&x=2817',
		'title': '',
		'imageId': '69983908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=69983927&x=2817',
		'title': '',
		'imageId': '69983927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010994&docid=69984095&x=2817',
		'title': '',
		'imageId': '69984095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010994';

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