var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68803144&x=3231',
		'title': '',
		'imageId': '68803144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68809454&x=3231',
		'title': '',
		'imageId': '68809454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68803166&x=3231',
		'title': '',
		'imageId': '68803166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68803165&x=3231',
		'title': '',
		'imageId': '68803165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68803160&x=3231',
		'title': '',
		'imageId': '68803160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68803145&x=3231',
		'title': '',
		'imageId': '68803145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68803147&x=3231',
		'title': '',
		'imageId': '68803147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68803148&x=3231',
		'title': '',
		'imageId': '68803148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68803149&x=3231',
		'title': '',
		'imageId': '68803149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68803150&x=3231',
		'title': '',
		'imageId': '68803150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68803154&x=3231',
		'title': '',
		'imageId': '68803154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68803155&x=3231',
		'title': '',
		'imageId': '68803155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68803156&x=3231',
		'title': '',
		'imageId': '68803156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68803157&x=3231',
		'title': '',
		'imageId': '68803157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68803159&x=3231',
		'title': '',
		'imageId': '68803159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68803161&x=3231',
		'title': '',
		'imageId': '68803161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68803167&x=3231',
		'title': '',
		'imageId': '68803167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68803168&x=3231',
		'title': '',
		'imageId': '68803168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68803174&x=3231',
		'title': '',
		'imageId': '68803174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68803176&x=3231',
		'title': '',
		'imageId': '68803176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68803177&x=3231',
		'title': '',
		'imageId': '68803177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68803170&x=3231',
		'title': '',
		'imageId': '68803170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959248&docid=68803175&x=3231',
		'title': '',
		'imageId': '68803175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3959248';

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