var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240563&x=100',
		'title': '',
		'imageId': '69240563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240564&x=100',
		'title': '',
		'imageId': '69240564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240565&x=100',
		'title': '',
		'imageId': '69240565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240566&x=100',
		'title': '',
		'imageId': '69240566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240567&x=100',
		'title': '',
		'imageId': '69240567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240568&x=100',
		'title': '',
		'imageId': '69240568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240569&x=100',
		'title': '',
		'imageId': '69240569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240570&x=100',
		'title': '',
		'imageId': '69240570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240571&x=100',
		'title': '',
		'imageId': '69240571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240572&x=100',
		'title': '',
		'imageId': '69240572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240573&x=100',
		'title': '',
		'imageId': '69240573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240574&x=100',
		'title': '',
		'imageId': '69240574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240575&x=100',
		'title': '',
		'imageId': '69240575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240576&x=100',
		'title': '',
		'imageId': '69240576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240577&x=100',
		'title': '',
		'imageId': '69240577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240578&x=100',
		'title': '',
		'imageId': '69240578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240579&x=100',
		'title': '',
		'imageId': '69240579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240580&x=100',
		'title': '',
		'imageId': '69240580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240581&x=100',
		'title': '',
		'imageId': '69240581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240582&x=100',
		'title': '',
		'imageId': '69240582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240583&x=100',
		'title': '',
		'imageId': '69240583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240584&x=100',
		'title': '',
		'imageId': '69240584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240585&x=100',
		'title': '',
		'imageId': '69240585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979292&docid=69240586&x=100',
		'title': '',
		'imageId': '69240586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3979292';

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