var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3919979&docid=68117817&x=930',
		'title': '',
		'imageId': '68117817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919979&docid=68117816&x=930',
		'title': '',
		'imageId': '68117816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919979&docid=67907757&x=930',
		'title': '',
		'imageId': '67907757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919979&docid=67907745&x=930',
		'title': '',
		'imageId': '67907745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919979&docid=68117814&x=930',
		'title': '',
		'imageId': '68117814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919979&docid=68117815&x=930',
		'title': '',
		'imageId': '68117815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919979&docid=67907758&x=930',
		'title': '',
		'imageId': '67907758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919979&docid=67907750&x=930',
		'title': '',
		'imageId': '67907750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919979&docid=67907748&x=930',
		'title': '',
		'imageId': '67907748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919979&docid=67907742&x=930',
		'title': '',
		'imageId': '67907742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919979&docid=67907749&x=930',
		'title': '',
		'imageId': '67907749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919979&docid=67907756&x=930',
		'title': '',
		'imageId': '67907756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919979&docid=67907755&x=930',
		'title': '',
		'imageId': '67907755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919979&docid=67907752&x=930',
		'title': '',
		'imageId': '67907752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919979&docid=67907753&x=930',
		'title': '',
		'imageId': '67907753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919979&docid=67907751&x=930',
		'title': '',
		'imageId': '67907751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919979&docid=67907743&x=930',
		'title': '',
		'imageId': '67907743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919979&docid=67907744&x=930',
		'title': '',
		'imageId': '67907744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919979&docid=67907754&x=930',
		'title': '',
		'imageId': '67907754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919979&docid=67907747&x=930',
		'title': '',
		'imageId': '67907747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919979&docid=67907746&x=930',
		'title': '',
		'imageId': '67907746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919979&docid=67907741&x=930',
		'title': '',
		'imageId': '67907741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3919979';

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