var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999485&docid=69696528&x=341',
		'title': '',
		'imageId': '69696528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999485&docid=69696529&x=341',
		'title': '',
		'imageId': '69696529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999485&docid=69696530&x=341',
		'title': '',
		'imageId': '69696530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999485&docid=69696531&x=341',
		'title': '',
		'imageId': '69696531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999485&docid=69696532&x=341',
		'title': '',
		'imageId': '69696532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999485&docid=69696533&x=341',
		'title': '',
		'imageId': '69696533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999485&docid=69696534&x=341',
		'title': '',
		'imageId': '69696534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999485&docid=69696535&x=341',
		'title': '',
		'imageId': '69696535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999485&docid=69696536&x=341',
		'title': '',
		'imageId': '69696536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999485&docid=69696537&x=341',
		'title': '',
		'imageId': '69696537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999485&docid=69696538&x=341',
		'title': '',
		'imageId': '69696538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999485&docid=69696918&x=341',
		'title': '',
		'imageId': '69696918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999485&docid=69696917&x=341',
		'title': '',
		'imageId': '69696917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999485&docid=69696946&x=341',
		'title': '',
		'imageId': '69696946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999485&docid=69696954&x=341',
		'title': '',
		'imageId': '69696954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999485&docid=69696953&x=341',
		'title': '',
		'imageId': '69696953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999485&docid=69696952&x=341',
		'title': '',
		'imageId': '69696952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999485&docid=69696947&x=341',
		'title': '',
		'imageId': '69696947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999485&docid=69696950&x=341',
		'title': '',
		'imageId': '69696950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999485&docid=69696949&x=341',
		'title': '',
		'imageId': '69696949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999485&docid=69696951&x=341',
		'title': '',
		'imageId': '69696951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999485&docid=69696948&x=341',
		'title': '',
		'imageId': '69696948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999485';

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