var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357229&x=4824',
		'title': '',
		'imageId': '68357229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357242&x=4824',
		'title': '',
		'imageId': '68357242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357247&x=4824',
		'title': '',
		'imageId': '68357247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357250&x=4824',
		'title': '',
		'imageId': '68357250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357253&x=4824',
		'title': '',
		'imageId': '68357253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357265&x=4824',
		'title': '',
		'imageId': '68357265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357339&x=4824',
		'title': '',
		'imageId': '68357339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357361&x=4824',
		'title': '',
		'imageId': '68357361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357375&x=4824',
		'title': '',
		'imageId': '68357375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357404&x=4824',
		'title': '',
		'imageId': '68357404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357413&x=4824',
		'title': '',
		'imageId': '68357413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357420&x=4824',
		'title': '',
		'imageId': '68357420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357467&x=4824',
		'title': '',
		'imageId': '68357467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357479&x=4824',
		'title': '',
		'imageId': '68357479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357483&x=4824',
		'title': '',
		'imageId': '68357483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357494&x=4824',
		'title': '',
		'imageId': '68357494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357515&x=4824',
		'title': '',
		'imageId': '68357515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357516&x=4824',
		'title': '',
		'imageId': '68357516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357528&x=4824',
		'title': '',
		'imageId': '68357528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357531&x=4824',
		'title': '',
		'imageId': '68357531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357554&x=4824',
		'title': '',
		'imageId': '68357554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357558&x=4824',
		'title': '',
		'imageId': '68357558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357562&x=4824',
		'title': '',
		'imageId': '68357562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939611&docid=68357569&x=4824',
		'title': '',
		'imageId': '68357569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3939611';

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