var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998339&docid=69663794&x=1121',
		'title': '',
		'imageId': '69663794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998339&docid=69663795&x=1121',
		'title': '',
		'imageId': '69663795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998339&docid=69663796&x=1121',
		'title': '',
		'imageId': '69663796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998339&docid=69663798&x=1121',
		'title': '',
		'imageId': '69663798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998339&docid=69663797&x=1121',
		'title': '',
		'imageId': '69663797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998339&docid=69663799&x=1121',
		'title': '',
		'imageId': '69663799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998339&docid=69663800&x=1121',
		'title': '',
		'imageId': '69663800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998339&docid=69663801&x=1121',
		'title': '',
		'imageId': '69663801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998339&docid=69663807&x=1121',
		'title': '',
		'imageId': '69663807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998339&docid=69663812&x=1121',
		'title': '',
		'imageId': '69663812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998339';

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