var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4025734&docid=70347804&x=4813',
		'title': '',
		'imageId': '70347804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025734&docid=70347812&x=4813',
		'title': '',
		'imageId': '70347812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025734&docid=70347809&x=4813',
		'title': '',
		'imageId': '70347809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025734&docid=70347810&x=4813',
		'title': '',
		'imageId': '70347810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025734&docid=70347805&x=4813',
		'title': '',
		'imageId': '70347805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025734&docid=70347808&x=4813',
		'title': '',
		'imageId': '70347808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025734&docid=70347806&x=4813',
		'title': '',
		'imageId': '70347806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025734&docid=70347807&x=4813',
		'title': '',
		'imageId': '70347807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025734&docid=70347813&x=4813',
		'title': '',
		'imageId': '70347813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025734&docid=70347811&x=4813',
		'title': '',
		'imageId': '70347811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025734&docid=70347803&x=4813',
		'title': '',
		'imageId': '70347803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4025734';

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