var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074908&x=310',
		'title': '',
		'imageId': '70074908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074923&x=310',
		'title': '',
		'imageId': '70074923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074927&x=310',
		'title': '',
		'imageId': '70074927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074928&x=310',
		'title': '',
		'imageId': '70074928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074931&x=310',
		'title': '',
		'imageId': '70074931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074955&x=310',
		'title': '',
		'imageId': '70074955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074934&x=310',
		'title': '',
		'imageId': '70074934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074940&x=310',
		'title': '',
		'imageId': '70074940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074943&x=310',
		'title': '',
		'imageId': '70074943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074945&x=310',
		'title': '',
		'imageId': '70074945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074958&x=310',
		'title': '',
		'imageId': '70074958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074946&x=310',
		'title': '',
		'imageId': '70074946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074949&x=310',
		'title': '',
		'imageId': '70074949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074965&x=310',
		'title': '',
		'imageId': '70074965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074961&x=310',
		'title': '',
		'imageId': '70074961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074962&x=310',
		'title': '',
		'imageId': '70074962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074968&x=310',
		'title': '',
		'imageId': '70074968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074916&x=310',
		'title': '',
		'imageId': '70074916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074922&x=310',
		'title': '',
		'imageId': '70074922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074911&x=310',
		'title': '',
		'imageId': '70074911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074912&x=310',
		'title': '',
		'imageId': '70074912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074973&x=310',
		'title': '',
		'imageId': '70074973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074909&x=310',
		'title': '',
		'imageId': '70074909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014934&docid=70074907&x=310',
		'title': '',
		'imageId': '70074907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014934';

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