var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975650&docid=69164762&x=2942',
		'title': '',
		'imageId': '69164762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975650&docid=69164764&x=2942',
		'title': '',
		'imageId': '69164764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975650&docid=69164766&x=2942',
		'title': '',
		'imageId': '69164766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975650&docid=69164772&x=2942',
		'title': '',
		'imageId': '69164772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975650&docid=69164763&x=2942',
		'title': '',
		'imageId': '69164763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975650&docid=69164770&x=2942',
		'title': '',
		'imageId': '69164770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975650&docid=69164767&x=2942',
		'title': '',
		'imageId': '69164767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975650&docid=69164765&x=2942',
		'title': '',
		'imageId': '69164765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975650&docid=69164771&x=2942',
		'title': '',
		'imageId': '69164771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975650&docid=69164769&x=2942',
		'title': '',
		'imageId': '69164769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975650';

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