var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932831&docid=68201825&x=847',
		'title': '',
		'imageId': '68201825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932831&docid=68201511&x=847',
		'title': '',
		'imageId': '68201511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932831&docid=68201512&x=847',
		'title': '',
		'imageId': '68201512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932831&docid=68201513&x=847',
		'title': '',
		'imageId': '68201513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932831&docid=68201514&x=847',
		'title': '',
		'imageId': '68201514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932831&docid=68201515&x=847',
		'title': '',
		'imageId': '68201515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932831&docid=68201516&x=847',
		'title': '',
		'imageId': '68201516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932831&docid=68201517&x=847',
		'title': '',
		'imageId': '68201517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932831&docid=68201518&x=847',
		'title': '',
		'imageId': '68201518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932831&docid=68201519&x=847',
		'title': '',
		'imageId': '68201519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932831&docid=68201540&x=847',
		'title': '',
		'imageId': '68201540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932831&docid=68201549&x=847',
		'title': '',
		'imageId': '68201549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932831';

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