var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973231&docid=69099885&x=4512',
		'title': '',
		'imageId': '69099885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973231&docid=69099886&x=4512',
		'title': '',
		'imageId': '69099886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973231&docid=69099887&x=4512',
		'title': '',
		'imageId': '69099887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973231&docid=69099888&x=4512',
		'title': '',
		'imageId': '69099888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973231&docid=69099894&x=4512',
		'title': '',
		'imageId': '69099894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973231&docid=69099897&x=4512',
		'title': '',
		'imageId': '69099897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973231&docid=69099900&x=4512',
		'title': '',
		'imageId': '69099900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973231&docid=69099904&x=4512',
		'title': '',
		'imageId': '69099904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973231&docid=69099906&x=4512',
		'title': '',
		'imageId': '69099906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973231&docid=69099910&x=4512',
		'title': '',
		'imageId': '69099910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973231&docid=69099884&x=4512',
		'title': '',
		'imageId': '69099884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973231&docid=69099883&x=4512',
		'title': '',
		'imageId': '69099883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973231';

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