var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3839191&docid=65888419&x=3846',
		'title': '',
		'imageId': '65888419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3839191&docid=65888420&x=3846',
		'title': '',
		'imageId': '65888420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3839191&docid=65888446&x=3846',
		'title': '',
		'imageId': '65888446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3839191&docid=65888421&x=3846',
		'title': '',
		'imageId': '65888421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3839191&docid=65888461&x=3846',
		'title': '',
		'imageId': '65888461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3839191&docid=65888428&x=3846',
		'title': '',
		'imageId': '65888428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3839191&docid=65888494&x=3846',
		'title': '',
		'imageId': '65888494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3839191&docid=65888512&x=3846',
		'title': '',
		'imageId': '65888512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3839191&docid=65888476&x=3846',
		'title': '',
		'imageId': '65888476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3839191&docid=65888416&x=3846',
		'title': '',
		'imageId': '65888416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3839191&docid=65888417&x=3846',
		'title': '',
		'imageId': '65888417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3839191&docid=65888418&x=3846',
		'title': '',
		'imageId': '65888418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3839191';

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