var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003689&docid=69802745&x=5331',
		'title': '',
		'imageId': '69802745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003689&docid=69802764&x=5331',
		'title': '',
		'imageId': '69802764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003689&docid=69802749&x=5331',
		'title': '',
		'imageId': '69802749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003689&docid=69802748&x=5331',
		'title': '',
		'imageId': '69802748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003689&docid=69802756&x=5331',
		'title': '',
		'imageId': '69802756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003689&docid=69802757&x=5331',
		'title': '',
		'imageId': '69802757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003689&docid=69802760&x=5331',
		'title': '',
		'imageId': '69802760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003689&docid=69802752&x=5331',
		'title': '',
		'imageId': '69802752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003689&docid=69802754&x=5331',
		'title': '',
		'imageId': '69802754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003689&docid=69802750&x=5331',
		'title': '',
		'imageId': '69802750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003689&docid=69802747&x=5331',
		'title': '',
		'imageId': '69802747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003689&docid=69802762&x=5331',
		'title': '',
		'imageId': '69802762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003689&docid=69802761&x=5331',
		'title': '',
		'imageId': '69802761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003689&docid=69802753&x=5331',
		'title': '',
		'imageId': '69802753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003689&docid=69802759&x=5331',
		'title': '',
		'imageId': '69802759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003689&docid=69802751&x=5331',
		'title': '',
		'imageId': '69802751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003689&docid=69802763&x=5331',
		'title': '',
		'imageId': '69802763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003689&docid=69802755&x=5331',
		'title': '',
		'imageId': '69802755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003689&docid=69802758&x=5331',
		'title': '',
		'imageId': '69802758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003689&docid=69802746&x=5331',
		'title': '',
		'imageId': '69802746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003689&docid=59270415&x=5331',
		'title': '',
		'imageId': '59270415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003689&docid=59270407&x=5331',
		'title': '',
		'imageId': '59270407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003689';

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