var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499960&x=3729',
		'title': '',
		'imageId': '68499960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499967&x=3729',
		'title': '',
		'imageId': '68499967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499964&x=3729',
		'title': '',
		'imageId': '68499964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499962&x=3729',
		'title': '',
		'imageId': '68499962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499950&x=3729',
		'title': '',
		'imageId': '68499950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499969&x=3729',
		'title': '',
		'imageId': '68499969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499963&x=3729',
		'title': '',
		'imageId': '68499963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499971&x=3729',
		'title': '',
		'imageId': '68499971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499968&x=3729',
		'title': '',
		'imageId': '68499968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499972&x=3729',
		'title': '',
		'imageId': '68499972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499966&x=3729',
		'title': '',
		'imageId': '68499966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499970&x=3729',
		'title': '',
		'imageId': '68499970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499953&x=3729',
		'title': '',
		'imageId': '68499953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499961&x=3729',
		'title': '',
		'imageId': '68499961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499959&x=3729',
		'title': '',
		'imageId': '68499959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499965&x=3729',
		'title': '',
		'imageId': '68499965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499954&x=3729',
		'title': '',
		'imageId': '68499954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499952&x=3729',
		'title': '',
		'imageId': '68499952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499949&x=3729',
		'title': '',
		'imageId': '68499949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499956&x=3729',
		'title': '',
		'imageId': '68499956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499957&x=3729',
		'title': '',
		'imageId': '68499957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499958&x=3729',
		'title': '',
		'imageId': '68499958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499955&x=3729',
		'title': '',
		'imageId': '68499955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946695&docid=68499951&x=3729',
		'title': '',
		'imageId': '68499951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946695';

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