var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3938270&docid=68324975&x=4345',
		'title': '',
		'imageId': '68324975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938270&docid=68324976&x=4345',
		'title': '',
		'imageId': '68324976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938270&docid=68324977&x=4345',
		'title': '',
		'imageId': '68324977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938270&docid=68324978&x=4345',
		'title': '',
		'imageId': '68324978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938270&docid=68324979&x=4345',
		'title': '',
		'imageId': '68324979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938270&docid=68324980&x=4345',
		'title': '',
		'imageId': '68324980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938270&docid=68324981&x=4345',
		'title': '',
		'imageId': '68324981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938270&docid=68324982&x=4345',
		'title': '',
		'imageId': '68324982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938270&docid=68324983&x=4345',
		'title': '',
		'imageId': '68324983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938270&docid=68324984&x=4345',
		'title': '',
		'imageId': '68324984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3938270';

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