var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009474&docid=69947525&x=710',
		'title': '',
		'imageId': '69947525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009474&docid=69947564&x=710',
		'title': '',
		'imageId': '69947564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009474&docid=69947572&x=710',
		'title': '',
		'imageId': '69947572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009474&docid=69947579&x=710',
		'title': '',
		'imageId': '69947579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009474&docid=69947587&x=710',
		'title': '',
		'imageId': '69947587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009474&docid=69947596&x=710',
		'title': '',
		'imageId': '69947596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009474&docid=69947607&x=710',
		'title': '',
		'imageId': '69947607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009474&docid=69947613&x=710',
		'title': '',
		'imageId': '69947613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009474&docid=69947637&x=710',
		'title': '',
		'imageId': '69947637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009474&docid=69947662&x=710',
		'title': '',
		'imageId': '69947662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009474&docid=69947668&x=710',
		'title': '',
		'imageId': '69947668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009474&docid=69947672&x=710',
		'title': '',
		'imageId': '69947672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009474';

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