var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974369&docid=69132225&x=1151',
		'title': '',
		'imageId': '69132225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974369&docid=69132227&x=1151',
		'title': '',
		'imageId': '69132227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974369&docid=69132226&x=1151',
		'title': '',
		'imageId': '69132226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974369&docid=69132229&x=1151',
		'title': '',
		'imageId': '69132229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974369&docid=69132228&x=1151',
		'title': '',
		'imageId': '69132228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974369&docid=69132232&x=1151',
		'title': '',
		'imageId': '69132232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974369&docid=69132235&x=1151',
		'title': '',
		'imageId': '69132235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974369&docid=69132241&x=1151',
		'title': '',
		'imageId': '69132241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974369&docid=69132224&x=1151',
		'title': '',
		'imageId': '69132224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974369&docid=69132240&x=1151',
		'title': '',
		'imageId': '69132240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974369';

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