var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3637032&docid=69014607&x=3124',
		'title': '',
		'imageId': '69014607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3637032&docid=69014604&x=3124',
		'title': '',
		'imageId': '69014604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3637032&docid=69014605&x=3124',
		'title': '',
		'imageId': '69014605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3637032&docid=69014606&x=3124',
		'title': '',
		'imageId': '69014606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3637032&docid=69014609&x=3124',
		'title': '',
		'imageId': '69014609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3637032&docid=69014611&x=3124',
		'title': '',
		'imageId': '69014611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3637032&docid=69014603&x=3124',
		'title': '',
		'imageId': '69014603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3637032&docid=69014610&x=3124',
		'title': '',
		'imageId': '69014610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3637032&docid=69014608&x=3124',
		'title': '',
		'imageId': '69014608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3637032&docid=69014612&x=3124',
		'title': '',
		'imageId': '69014612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3637032';

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