var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973564&docid=69107401&x=1914',
		'title': '',
		'imageId': '69107401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973564&docid=69107403&x=1914',
		'title': '',
		'imageId': '69107403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973564&docid=69107404&x=1914',
		'title': '',
		'imageId': '69107404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973564&docid=69107405&x=1914',
		'title': '',
		'imageId': '69107405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973564&docid=69107411&x=1914',
		'title': '',
		'imageId': '69107411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973564&docid=69107412&x=1914',
		'title': '',
		'imageId': '69107412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973564&docid=69107413&x=1914',
		'title': '',
		'imageId': '69107413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973564&docid=69107406&x=1914',
		'title': '',
		'imageId': '69107406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973564&docid=69107407&x=1914',
		'title': '',
		'imageId': '69107407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973564&docid=69107409&x=1914',
		'title': '',
		'imageId': '69107409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973564&docid=69107410&x=1914',
		'title': '',
		'imageId': '69107410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973564&docid=69107408&x=1914',
		'title': '',
		'imageId': '69107408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973564';

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