var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985442&x=494',
		'title': '',
		'imageId': '69985442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985452&x=494',
		'title': '',
		'imageId': '69985452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985441&x=494',
		'title': '',
		'imageId': '69985441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985437&x=494',
		'title': '',
		'imageId': '69985437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985449&x=494',
		'title': '',
		'imageId': '69985449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985443&x=494',
		'title': '',
		'imageId': '69985443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985439&x=494',
		'title': '',
		'imageId': '69985439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985448&x=494',
		'title': '',
		'imageId': '69985448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985432&x=494',
		'title': '',
		'imageId': '69985432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985453&x=494',
		'title': '',
		'imageId': '69985453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985450&x=494',
		'title': '',
		'imageId': '69985450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985455&x=494',
		'title': '',
		'imageId': '69985455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985445&x=494',
		'title': '',
		'imageId': '69985445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985440&x=494',
		'title': '',
		'imageId': '69985440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985438&x=494',
		'title': '',
		'imageId': '69985438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985454&x=494',
		'title': '',
		'imageId': '69985454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985436&x=494',
		'title': '',
		'imageId': '69985436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985447&x=494',
		'title': '',
		'imageId': '69985447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985434&x=494',
		'title': '',
		'imageId': '69985434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985444&x=494',
		'title': '',
		'imageId': '69985444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985433&x=494',
		'title': '',
		'imageId': '69985433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985446&x=494',
		'title': '',
		'imageId': '69985446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985451&x=494',
		'title': '',
		'imageId': '69985451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011108&docid=69985435&x=494',
		'title': '',
		'imageId': '69985435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011108';

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