var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404261&x=572',
		'title': '',
		'imageId': '68404261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404264&x=572',
		'title': '',
		'imageId': '68404264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404267&x=572',
		'title': '',
		'imageId': '68404267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404270&x=572',
		'title': '',
		'imageId': '68404270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404273&x=572',
		'title': '',
		'imageId': '68404273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404276&x=572',
		'title': '',
		'imageId': '68404276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404279&x=572',
		'title': '',
		'imageId': '68404279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404282&x=572',
		'title': '',
		'imageId': '68404282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404286&x=572',
		'title': '',
		'imageId': '68404286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404289&x=572',
		'title': '',
		'imageId': '68404289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404292&x=572',
		'title': '',
		'imageId': '68404292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404295&x=572',
		'title': '',
		'imageId': '68404295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404298&x=572',
		'title': '',
		'imageId': '68404298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404301&x=572',
		'title': '',
		'imageId': '68404301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404317&x=572',
		'title': '',
		'imageId': '68404317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404345&x=572',
		'title': '',
		'imageId': '68404345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404349&x=572',
		'title': '',
		'imageId': '68404349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404352&x=572',
		'title': '',
		'imageId': '68404352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404355&x=572',
		'title': '',
		'imageId': '68404355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404359&x=572',
		'title': '',
		'imageId': '68404359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404362&x=572',
		'title': '',
		'imageId': '68404362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404365&x=572',
		'title': '',
		'imageId': '68404365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404368&x=572',
		'title': '',
		'imageId': '68404368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3750957&docid=68404371&x=572',
		'title': '',
		'imageId': '68404371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3750957';

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