var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359931&x=652',
		'title': '',
		'imageId': '68359931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359930&x=652',
		'title': '',
		'imageId': '68359930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359932&x=652',
		'title': '',
		'imageId': '68359932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359929&x=652',
		'title': '',
		'imageId': '68359929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359933&x=652',
		'title': '',
		'imageId': '68359933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359934&x=652',
		'title': '',
		'imageId': '68359934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359936&x=652',
		'title': '',
		'imageId': '68359936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359925&x=652',
		'title': '',
		'imageId': '68359925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359935&x=652',
		'title': '',
		'imageId': '68359935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359937&x=652',
		'title': '',
		'imageId': '68359937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359922&x=652',
		'title': '',
		'imageId': '68359922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359920&x=652',
		'title': '',
		'imageId': '68359920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359918&x=652',
		'title': '',
		'imageId': '68359918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359917&x=652',
		'title': '',
		'imageId': '68359917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359921&x=652',
		'title': '',
		'imageId': '68359921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359919&x=652',
		'title': '',
		'imageId': '68359919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359924&x=652',
		'title': '',
		'imageId': '68359924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359916&x=652',
		'title': '',
		'imageId': '68359916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359928&x=652',
		'title': '',
		'imageId': '68359928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359915&x=652',
		'title': '',
		'imageId': '68359915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359927&x=652',
		'title': '',
		'imageId': '68359927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359926&x=652',
		'title': '',
		'imageId': '68359926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68359923&x=652',
		'title': '',
		'imageId': '68359923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939715&docid=68360110&x=652',
		'title': '',
		'imageId': '68360110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3939715';

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