var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008309&docid=69917510&x=3453',
		'title': '',
		'imageId': '69917510',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008309&docid=69917512&x=3453',
		'title': '',
		'imageId': '69917512',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008309&docid=69917513&x=3453',
		'title': '',
		'imageId': '69917513',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008309&docid=69917514&x=3453',
		'title': '',
		'imageId': '69917514',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008309&docid=69917515&x=3453',
		'title': '',
		'imageId': '69917515',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008309&docid=69917516&x=3453',
		'title': '',
		'imageId': '69917516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008309&docid=69917517&x=3453',
		'title': '',
		'imageId': '69917517',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008309&docid=69917518&x=3453',
		'title': '',
		'imageId': '69917518',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008309&docid=69917519&x=3453',
		'title': '',
		'imageId': '69917519',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008309&docid=69917520&x=3453',
		'title': '',
		'imageId': '69917520',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008309&docid=69917521&x=3453',
		'title': '',
		'imageId': '69917521',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008309';

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