var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093421&x=3555',
		'title': '',
		'imageId': '70093421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093416&x=3555',
		'title': '',
		'imageId': '70093416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093390&x=3555',
		'title': '',
		'imageId': '70093390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093418&x=3555',
		'title': '',
		'imageId': '70093418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093413&x=3555',
		'title': '',
		'imageId': '70093413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093406&x=3555',
		'title': '',
		'imageId': '70093406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093455&x=3555',
		'title': '',
		'imageId': '70093455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093420&x=3555',
		'title': '',
		'imageId': '70093420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093396&x=3555',
		'title': '',
		'imageId': '70093396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093430&x=3555',
		'title': '',
		'imageId': '70093430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093388&x=3555',
		'title': '',
		'imageId': '70093388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093378&x=3555',
		'title': '',
		'imageId': '70093378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093404&x=3555',
		'title': '',
		'imageId': '70093404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093432&x=3555',
		'title': '',
		'imageId': '70093432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093415&x=3555',
		'title': '',
		'imageId': '70093415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093394&x=3555',
		'title': '',
		'imageId': '70093394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093407&x=3555',
		'title': '',
		'imageId': '70093407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093403&x=3555',
		'title': '',
		'imageId': '70093403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093434&x=3555',
		'title': '',
		'imageId': '70093434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093410&x=3555',
		'title': '',
		'imageId': '70093410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093381&x=3555',
		'title': '',
		'imageId': '70093381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093411&x=3555',
		'title': '',
		'imageId': '70093411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093428&x=3555',
		'title': '',
		'imageId': '70093428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093446&x=3555',
		'title': '',
		'imageId': '70093446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093385&x=3555',
		'title': '',
		'imageId': '70093385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093437&x=3555',
		'title': '',
		'imageId': '70093437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093400&x=3555',
		'title': '',
		'imageId': '70093400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093453&x=3555',
		'title': '',
		'imageId': '70093453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093431&x=3555',
		'title': '',
		'imageId': '70093431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093457&x=3555',
		'title': '',
		'imageId': '70093457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093443&x=3555',
		'title': '',
		'imageId': '70093443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093387&x=3555',
		'title': '',
		'imageId': '70093387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093386&x=3555',
		'title': '',
		'imageId': '70093386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093456&x=3555',
		'title': '',
		'imageId': '70093456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015390&docid=70093383&x=3555',
		'title': '',
		'imageId': '70093383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015390';

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