var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011623&docid=69640157&x=517',
		'title': '',
		'imageId': '69640157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011623&docid=69640158&x=517',
		'title': '',
		'imageId': '69640158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011623&docid=69640161&x=517',
		'title': '',
		'imageId': '69640161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011623&docid=69640162&x=517',
		'title': '',
		'imageId': '69640162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011623&docid=69640165&x=517',
		'title': '',
		'imageId': '69640165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011623&docid=69640171&x=517',
		'title': '',
		'imageId': '69640171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011623&docid=69640174&x=517',
		'title': '',
		'imageId': '69640174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011623&docid=69640175&x=517',
		'title': '',
		'imageId': '69640175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011623&docid=69640180&x=517',
		'title': '',
		'imageId': '69640180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011623&docid=69640181&x=517',
		'title': '',
		'imageId': '69640181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011623&docid=69640184&x=517',
		'title': '',
		'imageId': '69640184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011623';

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