var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956743&x=650',
		'title': '',
		'imageId': '69956743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956751&x=650',
		'title': '',
		'imageId': '69956751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956750&x=650',
		'title': '',
		'imageId': '69956750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956747&x=650',
		'title': '',
		'imageId': '69956747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956748&x=650',
		'title': '',
		'imageId': '69956748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956749&x=650',
		'title': '',
		'imageId': '69956749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956754&x=650',
		'title': '',
		'imageId': '69956754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956761&x=650',
		'title': '',
		'imageId': '69956761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956768&x=650',
		'title': '',
		'imageId': '69956768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956766&x=650',
		'title': '',
		'imageId': '69956766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956770&x=650',
		'title': '',
		'imageId': '69956770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956771&x=650',
		'title': '',
		'imageId': '69956771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956772&x=650',
		'title': '',
		'imageId': '69956772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956777&x=650',
		'title': '',
		'imageId': '69956777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956778&x=650',
		'title': '',
		'imageId': '69956778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956783&x=650',
		'title': '',
		'imageId': '69956783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956784&x=650',
		'title': '',
		'imageId': '69956784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956791&x=650',
		'title': '',
		'imageId': '69956791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956793&x=650',
		'title': '',
		'imageId': '69956793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956792&x=650',
		'title': '',
		'imageId': '69956792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956799&x=650',
		'title': '',
		'imageId': '69956799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956801&x=650',
		'title': '',
		'imageId': '69956801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009825&docid=69956802&x=650',
		'title': '',
		'imageId': '69956802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009825';

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