var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980058&docid=69262545&x=296',
		'title': '',
		'imageId': '69262545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980058&docid=69262548&x=296',
		'title': '',
		'imageId': '69262548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980058&docid=69262550&x=296',
		'title': '',
		'imageId': '69262550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980058&docid=69262551&x=296',
		'title': '',
		'imageId': '69262551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980058&docid=69262552&x=296',
		'title': '',
		'imageId': '69262552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980058&docid=69262553&x=296',
		'title': '',
		'imageId': '69262553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980058&docid=69262554&x=296',
		'title': '',
		'imageId': '69262554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980058&docid=69262555&x=296',
		'title': '',
		'imageId': '69262555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980058&docid=69262556&x=296',
		'title': '',
		'imageId': '69262556',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980058&docid=69262558&x=296',
		'title': '',
		'imageId': '69262558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980058&docid=69262559&x=296',
		'title': '',
		'imageId': '69262559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980058&docid=69262560&x=296',
		'title': '',
		'imageId': '69262560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980058&docid=69262561&x=296',
		'title': '',
		'imageId': '69262561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980058&docid=69262562&x=296',
		'title': '',
		'imageId': '69262562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980058&docid=69262563&x=296',
		'title': '',
		'imageId': '69262563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980058&docid=69262564&x=296',
		'title': '',
		'imageId': '69262564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980058&docid=69262567&x=296',
		'title': '',
		'imageId': '69262567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980058&docid=69262568&x=296',
		'title': '',
		'imageId': '69262568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980058&docid=69262569&x=296',
		'title': '',
		'imageId': '69262569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980058&docid=69262570&x=296',
		'title': '',
		'imageId': '69262570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980058&docid=69262571&x=296',
		'title': '',
		'imageId': '69262571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980058&docid=69262572&x=296',
		'title': '',
		'imageId': '69262572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980058';

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