var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=476301&docid=2602141&x=3149',
		'title': '',
		'imageId': '2602141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476301&docid=2602155&x=3149',
		'title': '',
		'imageId': '2602155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476301&docid=2602161&x=3149',
		'title': '',
		'imageId': '2602161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476301&docid=2602184&x=3149',
		'title': '',
		'imageId': '2602184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476301&docid=2602167&x=3149',
		'title': '',
		'imageId': '2602167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476301&docid=2602174&x=3149',
		'title': '',
		'imageId': '2602174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476301&docid=2602134&x=3149',
		'title': '',
		'imageId': '2602134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476301&docid=2602195&x=3149',
		'title': '',
		'imageId': '2602195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476301&docid=2602149&x=3149',
		'title': '',
		'imageId': '2602149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476301&docid=2602201&x=3149',
		'title': '',
		'imageId': '2602201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476301&docid=2602207&x=3149',
		'title': '',
		'imageId': '2602207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #476301';

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