var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3990859&docid=69506795&x=3150',
		'title': '',
		'imageId': '69506795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990859&docid=69506797&x=3150',
		'title': '',
		'imageId': '69506797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990859&docid=69506801&x=3150',
		'title': '',
		'imageId': '69506801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990859&docid=69506804&x=3150',
		'title': '',
		'imageId': '69506804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990859&docid=69506796&x=3150',
		'title': '',
		'imageId': '69506796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990859&docid=69506800&x=3150',
		'title': '',
		'imageId': '69506800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990859&docid=69506802&x=3150',
		'title': '',
		'imageId': '69506802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990859&docid=69506803&x=3150',
		'title': '',
		'imageId': '69506803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990859&docid=69506798&x=3150',
		'title': '',
		'imageId': '69506798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990859&docid=69506799&x=3150',
		'title': '',
		'imageId': '69506799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3990859';

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