var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069807&x=1635',
		'title': '',
		'imageId': '69069807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069808&x=1635',
		'title': '',
		'imageId': '69069808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069811&x=1635',
		'title': '',
		'imageId': '69069811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069810&x=1635',
		'title': '',
		'imageId': '69069810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069809&x=1635',
		'title': '',
		'imageId': '69069809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069814&x=1635',
		'title': '',
		'imageId': '69069814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069813&x=1635',
		'title': '',
		'imageId': '69069813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069812&x=1635',
		'title': '',
		'imageId': '69069812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069816&x=1635',
		'title': '',
		'imageId': '69069816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069815&x=1635',
		'title': '',
		'imageId': '69069815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069818&x=1635',
		'title': '',
		'imageId': '69069818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069817&x=1635',
		'title': '',
		'imageId': '69069817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069819&x=1635',
		'title': '',
		'imageId': '69069819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069820&x=1635',
		'title': '',
		'imageId': '69069820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069825&x=1635',
		'title': '',
		'imageId': '69069825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069826&x=1635',
		'title': '',
		'imageId': '69069826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069829&x=1635',
		'title': '',
		'imageId': '69069829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069830&x=1635',
		'title': '',
		'imageId': '69069830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069827&x=1635',
		'title': '',
		'imageId': '69069827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069821&x=1635',
		'title': '',
		'imageId': '69069821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069824&x=1635',
		'title': '',
		'imageId': '69069824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069823&x=1635',
		'title': '',
		'imageId': '69069823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069822&x=1635',
		'title': '',
		'imageId': '69069822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972047&docid=69069828&x=1635',
		'title': '',
		'imageId': '69069828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972047';

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