var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011449&docid=69992121&x=71',
		'title': '',
		'imageId': '69992121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011449&docid=69992127&x=71',
		'title': '',
		'imageId': '69992127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011449&docid=69992136&x=71',
		'title': '',
		'imageId': '69992136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011449&docid=69992141&x=71',
		'title': '',
		'imageId': '69992141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011449&docid=69992149&x=71',
		'title': '',
		'imageId': '69992149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011449&docid=69992152&x=71',
		'title': '',
		'imageId': '69992152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011449&docid=69992156&x=71',
		'title': '',
		'imageId': '69992156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011449&docid=69992159&x=71',
		'title': '',
		'imageId': '69992159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011449&docid=69992163&x=71',
		'title': '',
		'imageId': '69992163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011449&docid=69992166&x=71',
		'title': '',
		'imageId': '69992166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011449&docid=69992172&x=71',
		'title': '',
		'imageId': '69992172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011449&docid=69992178&x=71',
		'title': '',
		'imageId': '69992178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011449';

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