var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3925217&docid=68025743&x=191',
		'title': '',
		'imageId': '68025743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925217&docid=68025744&x=191',
		'title': '',
		'imageId': '68025744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925217&docid=68025745&x=191',
		'title': '',
		'imageId': '68025745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925217&docid=68025746&x=191',
		'title': '',
		'imageId': '68025746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925217&docid=68025747&x=191',
		'title': '',
		'imageId': '68025747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925217&docid=68025748&x=191',
		'title': '',
		'imageId': '68025748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925217&docid=68025749&x=191',
		'title': '',
		'imageId': '68025749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925217&docid=68025750&x=191',
		'title': '',
		'imageId': '68025750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925217&docid=68025751&x=191',
		'title': '',
		'imageId': '68025751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925217&docid=68025752&x=191',
		'title': '',
		'imageId': '68025752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925217&docid=68025753&x=191',
		'title': '',
		'imageId': '68025753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925217&docid=68025754&x=191',
		'title': '',
		'imageId': '68025754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925217&docid=68025755&x=191',
		'title': '',
		'imageId': '68025755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925217&docid=68025756&x=191',
		'title': '',
		'imageId': '68025756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925217&docid=68025757&x=191',
		'title': '',
		'imageId': '68025757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925217&docid=68025758&x=191',
		'title': '',
		'imageId': '68025758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925217&docid=68025759&x=191',
		'title': '',
		'imageId': '68025759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925217&docid=68025760&x=191',
		'title': '',
		'imageId': '68025760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925217&docid=68025761&x=191',
		'title': '',
		'imageId': '68025761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925217&docid=68025762&x=191',
		'title': '',
		'imageId': '68025762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3925217';

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