var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980093&docid=69265480&x=113',
		'title': '',
		'imageId': '69265480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980093&docid=69265481&x=113',
		'title': '',
		'imageId': '69265481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980093&docid=69265478&x=113',
		'title': '',
		'imageId': '69265478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980093&docid=69265483&x=113',
		'title': '',
		'imageId': '69265483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980093&docid=69265484&x=113',
		'title': '',
		'imageId': '69265484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980093&docid=69265485&x=113',
		'title': '',
		'imageId': '69265485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980093&docid=69265479&x=113',
		'title': '',
		'imageId': '69265479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980093&docid=69265482&x=113',
		'title': '',
		'imageId': '69265482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980093&docid=69265477&x=113',
		'title': '',
		'imageId': '69265477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980093&docid=69265476&x=113',
		'title': '',
		'imageId': '69265476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980093';

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