var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3996617&docid=69785636&x=582',
		'title': '',
		'imageId': '69785636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996617&docid=69785021&x=582',
		'title': '',
		'imageId': '69785021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996617&docid=69785899&x=582',
		'title': '',
		'imageId': '69785899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996617&docid=69785846&x=582',
		'title': '',
		'imageId': '69785846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996617&docid=69785015&x=582',
		'title': '',
		'imageId': '69785015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996617&docid=69785019&x=582',
		'title': '',
		'imageId': '69785019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996617&docid=69785688&x=582',
		'title': '',
		'imageId': '69785688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996617&docid=69785013&x=582',
		'title': '',
		'imageId': '69785013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996617&docid=69785014&x=582',
		'title': '',
		'imageId': '69785014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996617&docid=69785017&x=582',
		'title': '',
		'imageId': '69785017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3996617';

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