var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=69810949&x=3832',
		'title': '',
		'imageId': '69810949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=69810946&x=3832',
		'title': '',
		'imageId': '69810946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=69810950&x=3832',
		'title': '',
		'imageId': '69810950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=69810938&x=3832',
		'title': '',
		'imageId': '69810938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=69810936&x=3832',
		'title': '',
		'imageId': '69810936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=69810940&x=3832',
		'title': '',
		'imageId': '69810940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=69810947&x=3832',
		'title': '',
		'imageId': '69810947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=69810943&x=3832',
		'title': '',
		'imageId': '69810943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=69810953&x=3832',
		'title': '',
		'imageId': '69810953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=69810945&x=3832',
		'title': '',
		'imageId': '69810945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=69810968&x=3832',
		'title': '',
		'imageId': '69810968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=69810954&x=3832',
		'title': '',
		'imageId': '69810954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=69810942&x=3832',
		'title': '',
		'imageId': '69810942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=69810948&x=3832',
		'title': '',
		'imageId': '69810948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=69810937&x=3832',
		'title': '',
		'imageId': '69810937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=69810951&x=3832',
		'title': '',
		'imageId': '69810951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=69810966&x=3832',
		'title': '',
		'imageId': '69810966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=69810952&x=3832',
		'title': '',
		'imageId': '69810952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=69810941&x=3832',
		'title': '',
		'imageId': '69810941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=69810944&x=3832',
		'title': '',
		'imageId': '69810944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=69810939&x=3832',
		'title': '',
		'imageId': '69810939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=69810955&x=3832',
		'title': '',
		'imageId': '69810955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=59270415&x=3832',
		'title': '',
		'imageId': '59270415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004032&docid=59270407&x=3832',
		'title': '',
		'imageId': '59270407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004032';

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