var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3993816&docid=69576560&x=78',
		'title': '',
		'imageId': '69576560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993816&docid=69576559&x=78',
		'title': '',
		'imageId': '69576559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993816&docid=69576561&x=78',
		'title': '',
		'imageId': '69576561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993816&docid=69576565&x=78',
		'title': '',
		'imageId': '69576565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993816&docid=69576564&x=78',
		'title': '',
		'imageId': '69576564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993816&docid=69576563&x=78',
		'title': '',
		'imageId': '69576563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993816&docid=69576569&x=78',
		'title': '',
		'imageId': '69576569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993816&docid=69576568&x=78',
		'title': '',
		'imageId': '69576568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993816&docid=69576566&x=78',
		'title': '',
		'imageId': '69576566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993816&docid=69576562&x=78',
		'title': '',
		'imageId': '69576562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3993816';

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