var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3964015&docid=68905701&x=236',
		'title': '',
		'imageId': '68905701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964015&docid=68905703&x=236',
		'title': '',
		'imageId': '68905703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964015&docid=68905714&x=236',
		'title': '',
		'imageId': '68905714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964015&docid=68905717&x=236',
		'title': '',
		'imageId': '68905717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964015&docid=68905719&x=236',
		'title': '',
		'imageId': '68905719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964015&docid=68905722&x=236',
		'title': '',
		'imageId': '68905722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964015&docid=68905723&x=236',
		'title': '',
		'imageId': '68905723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964015&docid=68905724&x=236',
		'title': '',
		'imageId': '68905724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964015&docid=68905727&x=236',
		'title': '',
		'imageId': '68905727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964015&docid=68905728&x=236',
		'title': '',
		'imageId': '68905728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3964015';

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