var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009501&docid=69953113&x=1611',
		'title': '',
		'imageId': '69953113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009501&docid=69953114&x=1611',
		'title': '',
		'imageId': '69953114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009501&docid=69953112&x=1611',
		'title': '',
		'imageId': '69953112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009501&docid=69953115&x=1611',
		'title': '',
		'imageId': '69953115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009501&docid=69947857&x=1611',
		'title': '',
		'imageId': '69947857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009501&docid=69947858&x=1611',
		'title': '',
		'imageId': '69947858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009501&docid=69947861&x=1611',
		'title': '',
		'imageId': '69947861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009501&docid=69947860&x=1611',
		'title': '',
		'imageId': '69947860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009501&docid=69947859&x=1611',
		'title': '',
		'imageId': '69947859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009501&docid=69947896&x=1611',
		'title': '',
		'imageId': '69947896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009501&docid=69947864&x=1611',
		'title': '',
		'imageId': '69947864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009501&docid=69947863&x=1611',
		'title': '',
		'imageId': '69947863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009501';

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