var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952779&docid=68646080&x=132',
		'title': '',
		'imageId': '68646080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952779&docid=68646082&x=132',
		'title': '',
		'imageId': '68646082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952779&docid=68646090&x=132',
		'title': '',
		'imageId': '68646090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952779&docid=68646085&x=132',
		'title': '',
		'imageId': '68646085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952779&docid=68646092&x=132',
		'title': '',
		'imageId': '68646092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952779&docid=68646077&x=132',
		'title': '',
		'imageId': '68646077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952779&docid=68646078&x=132',
		'title': '',
		'imageId': '68646078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952779&docid=68646079&x=132',
		'title': '',
		'imageId': '68646079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952779&docid=68646081&x=132',
		'title': '',
		'imageId': '68646081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952779&docid=68646096&x=132',
		'title': '',
		'imageId': '68646096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952779';

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