var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3968633&docid=68990988&x=2627',
		'title': '',
		'imageId': '68990988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968633&docid=68990520&x=2627',
		'title': '',
		'imageId': '68990520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968633&docid=68990521&x=2627',
		'title': '',
		'imageId': '68990521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968633&docid=68990522&x=2627',
		'title': '',
		'imageId': '68990522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968633&docid=68990524&x=2627',
		'title': '',
		'imageId': '68990524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968633&docid=68990523&x=2627',
		'title': '',
		'imageId': '68990523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968633&docid=68990525&x=2627',
		'title': '',
		'imageId': '68990525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968633&docid=68990531&x=2627',
		'title': '',
		'imageId': '68990531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968633&docid=68990532&x=2627',
		'title': '',
		'imageId': '68990532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968633&docid=68990537&x=2627',
		'title': '',
		'imageId': '68990537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968633&docid=68990538&x=2627',
		'title': '',
		'imageId': '68990538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968633&docid=68990542&x=2627',
		'title': '',
		'imageId': '68990542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3968633';

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