var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3969255&docid=69006412&x=4946',
		'title': '',
		'imageId': '69006412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969255&docid=69006403&x=4946',
		'title': '',
		'imageId': '69006403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969255&docid=69006411&x=4946',
		'title': '',
		'imageId': '69006411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969255&docid=69006402&x=4946',
		'title': '',
		'imageId': '69006402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969255&docid=69006409&x=4946',
		'title': '',
		'imageId': '69006409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969255&docid=69006401&x=4946',
		'title': '',
		'imageId': '69006401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969255&docid=69006406&x=4946',
		'title': '',
		'imageId': '69006406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969255&docid=69006404&x=4946',
		'title': '',
		'imageId': '69006404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969255&docid=69006410&x=4946',
		'title': '',
		'imageId': '69006410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969255&docid=69006405&x=4946',
		'title': '',
		'imageId': '69006405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969255&docid=69006408&x=4946',
		'title': '',
		'imageId': '69006408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969255&docid=69006407&x=4946',
		'title': '',
		'imageId': '69006407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3969255';

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