var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328825&x=531',
		'title': '',
		'imageId': '67328825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328808&x=531',
		'title': '',
		'imageId': '67328808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328831&x=531',
		'title': '',
		'imageId': '67328831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328826&x=531',
		'title': '',
		'imageId': '67328826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328813&x=531',
		'title': '',
		'imageId': '67328813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328818&x=531',
		'title': '',
		'imageId': '67328818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328811&x=531',
		'title': '',
		'imageId': '67328811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328829&x=531',
		'title': '',
		'imageId': '67328829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328812&x=531',
		'title': '',
		'imageId': '67328812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328832&x=531',
		'title': '',
		'imageId': '67328832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328815&x=531',
		'title': '',
		'imageId': '67328815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328816&x=531',
		'title': '',
		'imageId': '67328816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328810&x=531',
		'title': '',
		'imageId': '67328810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328830&x=531',
		'title': '',
		'imageId': '67328830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328827&x=531',
		'title': '',
		'imageId': '67328827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328824&x=531',
		'title': '',
		'imageId': '67328824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328822&x=531',
		'title': '',
		'imageId': '67328822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328817&x=531',
		'title': '',
		'imageId': '67328817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328809&x=531',
		'title': '',
		'imageId': '67328809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328821&x=531',
		'title': '',
		'imageId': '67328821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328819&x=531',
		'title': '',
		'imageId': '67328819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328823&x=531',
		'title': '',
		'imageId': '67328823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897690&docid=67328814&x=531',
		'title': '',
		'imageId': '67328814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3897690';

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