var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240539&x=104',
		'title': '',
		'imageId': '69240539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240540&x=104',
		'title': '',
		'imageId': '69240540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240541&x=104',
		'title': '',
		'imageId': '69240541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240542&x=104',
		'title': '',
		'imageId': '69240542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240543&x=104',
		'title': '',
		'imageId': '69240543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240544&x=104',
		'title': '',
		'imageId': '69240544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240545&x=104',
		'title': '',
		'imageId': '69240545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240546&x=104',
		'title': '',
		'imageId': '69240546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240547&x=104',
		'title': '',
		'imageId': '69240547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240548&x=104',
		'title': '',
		'imageId': '69240548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240549&x=104',
		'title': '',
		'imageId': '69240549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240550&x=104',
		'title': '',
		'imageId': '69240550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240551&x=104',
		'title': '',
		'imageId': '69240551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240552&x=104',
		'title': '',
		'imageId': '69240552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240553&x=104',
		'title': '',
		'imageId': '69240553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240554&x=104',
		'title': '',
		'imageId': '69240554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240555&x=104',
		'title': '',
		'imageId': '69240555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240556&x=104',
		'title': '',
		'imageId': '69240556',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240557&x=104',
		'title': '',
		'imageId': '69240557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240558&x=104',
		'title': '',
		'imageId': '69240558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240559&x=104',
		'title': '',
		'imageId': '69240559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240560&x=104',
		'title': '',
		'imageId': '69240560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240561&x=104',
		'title': '',
		'imageId': '69240561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979291&docid=69240562&x=104',
		'title': '',
		'imageId': '69240562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3979291';

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