var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019386&docid=69616033&x=5747',
		'title': '',
		'imageId': '69616033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019386&docid=69616017&x=5747',
		'title': '',
		'imageId': '69616017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019386&docid=69262345&x=5747',
		'title': '',
		'imageId': '69262345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019386&docid=69262346&x=5747',
		'title': '',
		'imageId': '69262346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019386&docid=69262341&x=5747',
		'title': '',
		'imageId': '69262341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019386&docid=69262342&x=5747',
		'title': '',
		'imageId': '69262342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019386&docid=69262343&x=5747',
		'title': '',
		'imageId': '69262343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019386&docid=69262344&x=5747',
		'title': '',
		'imageId': '69262344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019386&docid=69262340&x=5747',
		'title': '',
		'imageId': '69262340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019386&docid=69262347&x=5747',
		'title': '',
		'imageId': '69262347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019386&docid=69262348&x=5747',
		'title': '',
		'imageId': '69262348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019386&docid=69262339&x=5747',
		'title': '',
		'imageId': '69262339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019386';

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