var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596413&x=4232',
		'title': '',
		'imageId': '68596413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596429&x=4232',
		'title': '',
		'imageId': '68596429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596411&x=4232',
		'title': '',
		'imageId': '68596411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596416&x=4232',
		'title': '',
		'imageId': '68596416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596412&x=4232',
		'title': '',
		'imageId': '68596412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596410&x=4232',
		'title': '',
		'imageId': '68596410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596430&x=4232',
		'title': '',
		'imageId': '68596430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596409&x=4232',
		'title': '',
		'imageId': '68596409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596421&x=4232',
		'title': '',
		'imageId': '68596421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596431&x=4232',
		'title': '',
		'imageId': '68596431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596414&x=4232',
		'title': '',
		'imageId': '68596414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596417&x=4232',
		'title': '',
		'imageId': '68596417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596423&x=4232',
		'title': '',
		'imageId': '68596423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596426&x=4232',
		'title': '',
		'imageId': '68596426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596419&x=4232',
		'title': '',
		'imageId': '68596419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596425&x=4232',
		'title': '',
		'imageId': '68596425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596418&x=4232',
		'title': '',
		'imageId': '68596418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596427&x=4232',
		'title': '',
		'imageId': '68596427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596420&x=4232',
		'title': '',
		'imageId': '68596420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596415&x=4232',
		'title': '',
		'imageId': '68596415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596428&x=4232',
		'title': '',
		'imageId': '68596428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596422&x=4232',
		'title': '',
		'imageId': '68596422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950485&docid=68596424&x=4232',
		'title': '',
		'imageId': '68596424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950485';

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