var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975041&docid=69146817&x=4945',
		'title': '',
		'imageId': '69146817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975041&docid=69146825&x=4945',
		'title': '',
		'imageId': '69146825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975041&docid=69146818&x=4945',
		'title': '',
		'imageId': '69146818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975041&docid=69146824&x=4945',
		'title': '',
		'imageId': '69146824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975041&docid=69146822&x=4945',
		'title': '',
		'imageId': '69146822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975041&docid=69146823&x=4945',
		'title': '',
		'imageId': '69146823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975041&docid=69146820&x=4945',
		'title': '',
		'imageId': '69146820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975041&docid=69146821&x=4945',
		'title': '',
		'imageId': '69146821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975041&docid=69146819&x=4945',
		'title': '',
		'imageId': '69146819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975041&docid=69146816&x=4945',
		'title': '',
		'imageId': '69146816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975041';

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