var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612098&x=154',
		'title': '',
		'imageId': '69612098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612090&x=154',
		'title': '',
		'imageId': '69612090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612096&x=154',
		'title': '',
		'imageId': '69612096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612089&x=154',
		'title': '',
		'imageId': '69612089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612086&x=154',
		'title': '',
		'imageId': '69612086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612087&x=154',
		'title': '',
		'imageId': '69612087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612088&x=154',
		'title': '',
		'imageId': '69612088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612099&x=154',
		'title': '',
		'imageId': '69612099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612101&x=154',
		'title': '',
		'imageId': '69612101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612091&x=154',
		'title': '',
		'imageId': '69612091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612102&x=154',
		'title': '',
		'imageId': '69612102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612106&x=154',
		'title': '',
		'imageId': '69612106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612103&x=154',
		'title': '',
		'imageId': '69612103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612092&x=154',
		'title': '',
		'imageId': '69612092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612104&x=154',
		'title': '',
		'imageId': '69612104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612107&x=154',
		'title': '',
		'imageId': '69612107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612093&x=154',
		'title': '',
		'imageId': '69612093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612094&x=154',
		'title': '',
		'imageId': '69612094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612095&x=154',
		'title': '',
		'imageId': '69612095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612105&x=154',
		'title': '',
		'imageId': '69612105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612097&x=154',
		'title': '',
		'imageId': '69612097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612100&x=154',
		'title': '',
		'imageId': '69612100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995252&docid=69612108&x=154',
		'title': '',
		'imageId': '69612108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3995252';

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