var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3984607&docid=69366584&x=1052',
		'title': '',
		'imageId': '69366584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984607&docid=69366593&x=1052',
		'title': '',
		'imageId': '69366593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984607&docid=69366590&x=1052',
		'title': '',
		'imageId': '69366590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984607&docid=69366592&x=1052',
		'title': '',
		'imageId': '69366592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984607&docid=69366591&x=1052',
		'title': '',
		'imageId': '69366591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984607&docid=69366587&x=1052',
		'title': '',
		'imageId': '69366587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984607&docid=69366594&x=1052',
		'title': '',
		'imageId': '69366594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984607&docid=69366588&x=1052',
		'title': '',
		'imageId': '69366588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984607&docid=69366585&x=1052',
		'title': '',
		'imageId': '69366585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984607&docid=69366589&x=1052',
		'title': '',
		'imageId': '69366589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3984607';

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