var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975087&docid=69148237&x=177',
		'title': '',
		'imageId': '69148237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975087&docid=69148230&x=177',
		'title': '',
		'imageId': '69148230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975087&docid=69148231&x=177',
		'title': '',
		'imageId': '69148231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975087&docid=69148233&x=177',
		'title': '',
		'imageId': '69148233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975087&docid=69148232&x=177',
		'title': '',
		'imageId': '69148232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975087&docid=69148234&x=177',
		'title': '',
		'imageId': '69148234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975087&docid=69148238&x=177',
		'title': '',
		'imageId': '69148238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975087&docid=69148228&x=177',
		'title': '',
		'imageId': '69148228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975087&docid=69148229&x=177',
		'title': '',
		'imageId': '69148229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975087&docid=69148236&x=177',
		'title': '',
		'imageId': '69148236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975087';

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