var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69791440&x=4639',
		'title': '',
		'imageId': '69791440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69791447&x=4639',
		'title': '',
		'imageId': '69791447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69791450&x=4639',
		'title': '',
		'imageId': '69791450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69791452&x=4639',
		'title': '',
		'imageId': '69791452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69791397&x=4639',
		'title': '',
		'imageId': '69791397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69791393&x=4639',
		'title': '',
		'imageId': '69791393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69791394&x=4639',
		'title': '',
		'imageId': '69791394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69791396&x=4639',
		'title': '',
		'imageId': '69791396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69791448&x=4639',
		'title': '',
		'imageId': '69791448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69791424&x=4639',
		'title': '',
		'imageId': '69791424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69791425&x=4639',
		'title': '',
		'imageId': '69791425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69791428&x=4639',
		'title': '',
		'imageId': '69791428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69791431&x=4639',
		'title': '',
		'imageId': '69791431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69791436&x=4639',
		'title': '',
		'imageId': '69791436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69851970&x=4639',
		'title': '',
		'imageId': '69851970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69851972&x=4639',
		'title': '',
		'imageId': '69851972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69851971&x=4639',
		'title': '',
		'imageId': '69851971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69853795&x=4639',
		'title': '',
		'imageId': '69853795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69851973&x=4639',
		'title': '',
		'imageId': '69851973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69851975&x=4639',
		'title': '',
		'imageId': '69851975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69851978&x=4639',
		'title': '',
		'imageId': '69851978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69851985&x=4639',
		'title': '',
		'imageId': '69851985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69851987&x=4639',
		'title': '',
		'imageId': '69851987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003274&docid=69851993&x=4639',
		'title': '',
		'imageId': '69851993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003274';

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