var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189511&x=2357',
		'title': '',
		'imageId': '68189511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189522&x=2357',
		'title': '',
		'imageId': '68189522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189527&x=2357',
		'title': '',
		'imageId': '68189527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189515&x=2357',
		'title': '',
		'imageId': '68189515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189519&x=2357',
		'title': '',
		'imageId': '68189519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189514&x=2357',
		'title': '',
		'imageId': '68189514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189502&x=2357',
		'title': '',
		'imageId': '68189502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189517&x=2357',
		'title': '',
		'imageId': '68189517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189508&x=2357',
		'title': '',
		'imageId': '68189508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189509&x=2357',
		'title': '',
		'imageId': '68189509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189512&x=2357',
		'title': '',
		'imageId': '68189512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189507&x=2357',
		'title': '',
		'imageId': '68189507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189513&x=2357',
		'title': '',
		'imageId': '68189513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189516&x=2357',
		'title': '',
		'imageId': '68189516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189526&x=2357',
		'title': '',
		'imageId': '68189526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189520&x=2357',
		'title': '',
		'imageId': '68189520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189521&x=2357',
		'title': '',
		'imageId': '68189521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189524&x=2357',
		'title': '',
		'imageId': '68189524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189528&x=2357',
		'title': '',
		'imageId': '68189528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189523&x=2357',
		'title': '',
		'imageId': '68189523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189503&x=2357',
		'title': '',
		'imageId': '68189503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189505&x=2357',
		'title': '',
		'imageId': '68189505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189525&x=2357',
		'title': '',
		'imageId': '68189525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932496&docid=68189506&x=2357',
		'title': '',
		'imageId': '68189506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932496';

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