var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811266&x=5238',
		'title': '',
		'imageId': '69811266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811292&x=5238',
		'title': '',
		'imageId': '69811292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811287&x=5238',
		'title': '',
		'imageId': '69811287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811290&x=5238',
		'title': '',
		'imageId': '69811290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811276&x=5238',
		'title': '',
		'imageId': '69811276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811273&x=5238',
		'title': '',
		'imageId': '69811273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811271&x=5238',
		'title': '',
		'imageId': '69811271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811279&x=5238',
		'title': '',
		'imageId': '69811279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811274&x=5238',
		'title': '',
		'imageId': '69811274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811296&x=5238',
		'title': '',
		'imageId': '69811296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811278&x=5238',
		'title': '',
		'imageId': '69811278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811285&x=5238',
		'title': '',
		'imageId': '69811285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811280&x=5238',
		'title': '',
		'imageId': '69811280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811283&x=5238',
		'title': '',
		'imageId': '69811283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811293&x=5238',
		'title': '',
		'imageId': '69811293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811281&x=5238',
		'title': '',
		'imageId': '69811281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811272&x=5238',
		'title': '',
		'imageId': '69811272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811294&x=5238',
		'title': '',
		'imageId': '69811294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811269&x=5238',
		'title': '',
		'imageId': '69811269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811277&x=5238',
		'title': '',
		'imageId': '69811277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811284&x=5238',
		'title': '',
		'imageId': '69811284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811282&x=5238',
		'title': '',
		'imageId': '69811282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811288&x=5238',
		'title': '',
		'imageId': '69811288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811289&x=5238',
		'title': '',
		'imageId': '69811289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811299&x=5238',
		'title': '',
		'imageId': '69811299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811270&x=5238',
		'title': '',
		'imageId': '69811270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811275&x=5238',
		'title': '',
		'imageId': '69811275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811268&x=5238',
		'title': '',
		'imageId': '69811268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811267&x=5238',
		'title': '',
		'imageId': '69811267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811295&x=5238',
		'title': '',
		'imageId': '69811295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811297&x=5238',
		'title': '',
		'imageId': '69811297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811298&x=5238',
		'title': '',
		'imageId': '69811298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811291&x=5238',
		'title': '',
		'imageId': '69811291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=69811286&x=5238',
		'title': '',
		'imageId': '69811286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=59270415&x=5238',
		'title': '',
		'imageId': '59270415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004045&docid=59270407&x=5238',
		'title': '',
		'imageId': '59270407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004045';

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