var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186666&x=4833',
		'title': '',
		'imageId': '68186666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186667&x=4833',
		'title': '',
		'imageId': '68186667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186668&x=4833',
		'title': '',
		'imageId': '68186668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186669&x=4833',
		'title': '',
		'imageId': '68186669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186670&x=4833',
		'title': '',
		'imageId': '68186670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186671&x=4833',
		'title': '',
		'imageId': '68186671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186672&x=4833',
		'title': '',
		'imageId': '68186672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186673&x=4833',
		'title': '',
		'imageId': '68186673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186674&x=4833',
		'title': '',
		'imageId': '68186674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186677&x=4833',
		'title': '',
		'imageId': '68186677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186678&x=4833',
		'title': '',
		'imageId': '68186678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186679&x=4833',
		'title': '',
		'imageId': '68186679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186680&x=4833',
		'title': '',
		'imageId': '68186680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186681&x=4833',
		'title': '',
		'imageId': '68186681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186682&x=4833',
		'title': '',
		'imageId': '68186682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186685&x=4833',
		'title': '',
		'imageId': '68186685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186686&x=4833',
		'title': '',
		'imageId': '68186686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186687&x=4833',
		'title': '',
		'imageId': '68186687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186688&x=4833',
		'title': '',
		'imageId': '68186688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186689&x=4833',
		'title': '',
		'imageId': '68186689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186690&x=4833',
		'title': '',
		'imageId': '68186690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186691&x=4833',
		'title': '',
		'imageId': '68186691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932416&docid=68186692&x=4833',
		'title': '',
		'imageId': '68186692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932416';

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