var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3979294&docid=69240604&x=1015',
		'title': '',
		'imageId': '69240604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979294&docid=69240606&x=1015',
		'title': '',
		'imageId': '69240606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979294&docid=69240607&x=1015',
		'title': '',
		'imageId': '69240607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979294&docid=69240608&x=1015',
		'title': '',
		'imageId': '69240608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979294&docid=69240609&x=1015',
		'title': '',
		'imageId': '69240609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979294&docid=69240610&x=1015',
		'title': '',
		'imageId': '69240610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979294&docid=69240611&x=1015',
		'title': '',
		'imageId': '69240611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979294&docid=69240612&x=1015',
		'title': '',
		'imageId': '69240612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979294&docid=69240613&x=1015',
		'title': '',
		'imageId': '69240613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979294&docid=69240614&x=1015',
		'title': '',
		'imageId': '69240614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979294&docid=69240615&x=1015',
		'title': '',
		'imageId': '69240615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979294&docid=69240616&x=1015',
		'title': '',
		'imageId': '69240616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979294&docid=69240617&x=1015',
		'title': '',
		'imageId': '69240617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979294&docid=69240618&x=1015',
		'title': '',
		'imageId': '69240618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979294&docid=69240619&x=1015',
		'title': '',
		'imageId': '69240619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979294&docid=69240620&x=1015',
		'title': '',
		'imageId': '69240620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979294&docid=69240621&x=1015',
		'title': '',
		'imageId': '69240621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979294&docid=69240622&x=1015',
		'title': '',
		'imageId': '69240622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979294&docid=69240623&x=1015',
		'title': '',
		'imageId': '69240623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979294&docid=69240624&x=1015',
		'title': '',
		'imageId': '69240624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3979294';

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