var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69965012&x=256',
		'title': '',
		'imageId': '69965012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69965004&x=256',
		'title': '',
		'imageId': '69965004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69965008&x=256',
		'title': '',
		'imageId': '69965008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69965015&x=256',
		'title': '',
		'imageId': '69965015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69964980&x=256',
		'title': '',
		'imageId': '69964980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69964999&x=256',
		'title': '',
		'imageId': '69964999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69964983&x=256',
		'title': '',
		'imageId': '69964983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69964978&x=256',
		'title': '',
		'imageId': '69964978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69964981&x=256',
		'title': '',
		'imageId': '69964981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69964992&x=256',
		'title': '',
		'imageId': '69964992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69964979&x=256',
		'title': '',
		'imageId': '69964979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69964986&x=256',
		'title': '',
		'imageId': '69964986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69965001&x=256',
		'title': '',
		'imageId': '69965001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69964982&x=256',
		'title': '',
		'imageId': '69964982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69964990&x=256',
		'title': '',
		'imageId': '69964990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69965000&x=256',
		'title': '',
		'imageId': '69965000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69965022&x=256',
		'title': '',
		'imageId': '69965022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69965026&x=256',
		'title': '',
		'imageId': '69965026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69965029&x=256',
		'title': '',
		'imageId': '69965029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69965032&x=256',
		'title': '',
		'imageId': '69965032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69965035&x=256',
		'title': '',
		'imageId': '69965035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69965038&x=256',
		'title': '',
		'imageId': '69965038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69965019&x=256',
		'title': '',
		'imageId': '69965019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010132&docid=69965017&x=256',
		'title': '',
		'imageId': '69965017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010132';

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