var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3915206&docid=67771200&x=2553',
		'title': '',
		'imageId': '67771200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915206&docid=67771202&x=2553',
		'title': '',
		'imageId': '67771202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915206&docid=67771203&x=2553',
		'title': '',
		'imageId': '67771203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915206&docid=67771204&x=2553',
		'title': '',
		'imageId': '67771204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915206&docid=67771205&x=2553',
		'title': '',
		'imageId': '67771205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915206&docid=67771206&x=2553',
		'title': '',
		'imageId': '67771206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915206&docid=67771207&x=2553',
		'title': '',
		'imageId': '67771207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915206&docid=67771208&x=2553',
		'title': '',
		'imageId': '67771208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915206&docid=67771209&x=2553',
		'title': '',
		'imageId': '67771209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915206&docid=67771210&x=2553',
		'title': '',
		'imageId': '67771210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915206&docid=67771211&x=2553',
		'title': '',
		'imageId': '67771211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915206&docid=67771201&x=2553',
		'title': '',
		'imageId': '67771201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3915206';

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