var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638954&x=3045',
		'title': '',
		'imageId': '69638954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638952&x=3045',
		'title': '',
		'imageId': '69638952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638956&x=3045',
		'title': '',
		'imageId': '69638956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638962&x=3045',
		'title': '',
		'imageId': '69638962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638948&x=3045',
		'title': '',
		'imageId': '69638948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638953&x=3045',
		'title': '',
		'imageId': '69638953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638969&x=3045',
		'title': '',
		'imageId': '69638969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638970&x=3045',
		'title': '',
		'imageId': '69638970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638951&x=3045',
		'title': '',
		'imageId': '69638951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638966&x=3045',
		'title': '',
		'imageId': '69638966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638961&x=3045',
		'title': '',
		'imageId': '69638961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638963&x=3045',
		'title': '',
		'imageId': '69638963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638964&x=3045',
		'title': '',
		'imageId': '69638964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638960&x=3045',
		'title': '',
		'imageId': '69638960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638955&x=3045',
		'title': '',
		'imageId': '69638955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638967&x=3045',
		'title': '',
		'imageId': '69638967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638950&x=3045',
		'title': '',
		'imageId': '69638950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638968&x=3045',
		'title': '',
		'imageId': '69638968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638957&x=3045',
		'title': '',
		'imageId': '69638957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638958&x=3045',
		'title': '',
		'imageId': '69638958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638959&x=3045',
		'title': '',
		'imageId': '69638959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638965&x=3045',
		'title': '',
		'imageId': '69638965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997053&docid=69638949&x=3045',
		'title': '',
		'imageId': '69638949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3997053';

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