var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871507&x=175',
		'title': '',
		'imageId': '68871507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871518&x=175',
		'title': '',
		'imageId': '68871518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871509&x=175',
		'title': '',
		'imageId': '68871509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871512&x=175',
		'title': '',
		'imageId': '68871512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871515&x=175',
		'title': '',
		'imageId': '68871515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871508&x=175',
		'title': '',
		'imageId': '68871508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871514&x=175',
		'title': '',
		'imageId': '68871514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871511&x=175',
		'title': '',
		'imageId': '68871511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871538&x=175',
		'title': '',
		'imageId': '68871538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871510&x=175',
		'title': '',
		'imageId': '68871510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871539&x=175',
		'title': '',
		'imageId': '68871539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871521&x=175',
		'title': '',
		'imageId': '68871521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871522&x=175',
		'title': '',
		'imageId': '68871522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871525&x=175',
		'title': '',
		'imageId': '68871525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871519&x=175',
		'title': '',
		'imageId': '68871519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871516&x=175',
		'title': '',
		'imageId': '68871516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871529&x=175',
		'title': '',
		'imageId': '68871529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871528&x=175',
		'title': '',
		'imageId': '68871528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871517&x=175',
		'title': '',
		'imageId': '68871517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871523&x=175',
		'title': '',
		'imageId': '68871523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871526&x=175',
		'title': '',
		'imageId': '68871526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871520&x=175',
		'title': '',
		'imageId': '68871520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871527&x=175',
		'title': '',
		'imageId': '68871527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871532&x=175',
		'title': '',
		'imageId': '68871532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871513&x=175',
		'title': '',
		'imageId': '68871513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871531&x=175',
		'title': '',
		'imageId': '68871531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871530&x=175',
		'title': '',
		'imageId': '68871530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871536&x=175',
		'title': '',
		'imageId': '68871536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871535&x=175',
		'title': '',
		'imageId': '68871535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871540&x=175',
		'title': '',
		'imageId': '68871540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871533&x=175',
		'title': '',
		'imageId': '68871533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871537&x=175',
		'title': '',
		'imageId': '68871537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871534&x=175',
		'title': '',
		'imageId': '68871534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962714&docid=68871524&x=175',
		'title': '',
		'imageId': '68871524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962714';

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