var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510554&x=1812',
		'title': '',
		'imageId': '68510554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510557&x=1812',
		'title': '',
		'imageId': '68510557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510560&x=1812',
		'title': '',
		'imageId': '68510560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510556&x=1812',
		'title': '',
		'imageId': '68510556',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510563&x=1812',
		'title': '',
		'imageId': '68510563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510571&x=1812',
		'title': '',
		'imageId': '68510571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510572&x=1812',
		'title': '',
		'imageId': '68510572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510574&x=1812',
		'title': '',
		'imageId': '68510574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510575&x=1812',
		'title': '',
		'imageId': '68510575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510553&x=1812',
		'title': '',
		'imageId': '68510553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510585&x=1812',
		'title': '',
		'imageId': '68510585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510587&x=1812',
		'title': '',
		'imageId': '68510587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510592&x=1812',
		'title': '',
		'imageId': '68510592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510593&x=1812',
		'title': '',
		'imageId': '68510593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510596&x=1812',
		'title': '',
		'imageId': '68510596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510599&x=1812',
		'title': '',
		'imageId': '68510599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510604&x=1812',
		'title': '',
		'imageId': '68510604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510649&x=1812',
		'title': '',
		'imageId': '68510649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510605&x=1812',
		'title': '',
		'imageId': '68510605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510611&x=1812',
		'title': '',
		'imageId': '68510611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510612&x=1812',
		'title': '',
		'imageId': '68510612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510617&x=1812',
		'title': '',
		'imageId': '68510617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510620&x=1812',
		'title': '',
		'imageId': '68510620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510623&x=1812',
		'title': '',
		'imageId': '68510623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510635&x=1812',
		'title': '',
		'imageId': '68510635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510631&x=1812',
		'title': '',
		'imageId': '68510631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510630&x=1812',
		'title': '',
		'imageId': '68510630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510632&x=1812',
		'title': '',
		'imageId': '68510632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510639&x=1812',
		'title': '',
		'imageId': '68510639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510641&x=1812',
		'title': '',
		'imageId': '68510641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510644&x=1812',
		'title': '',
		'imageId': '68510644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510578&x=1812',
		'title': '',
		'imageId': '68510578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510581&x=1812',
		'title': '',
		'imageId': '68510581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510555&x=1812',
		'title': '',
		'imageId': '68510555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510614&x=1812',
		'title': '',
		'imageId': '68510614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947075&docid=68510552&x=1812',
		'title': '',
		'imageId': '68510552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947075';

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