var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974129&docid=69125818&x=501',
		'title': '',
		'imageId': '69125818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974129&docid=69125811&x=501',
		'title': '',
		'imageId': '69125811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974129&docid=69125825&x=501',
		'title': '',
		'imageId': '69125825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974129&docid=69125813&x=501',
		'title': '',
		'imageId': '69125813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974129&docid=69125831&x=501',
		'title': '',
		'imageId': '69125831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974129&docid=69125832&x=501',
		'title': '',
		'imageId': '69125832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974129&docid=69125833&x=501',
		'title': '',
		'imageId': '69125833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974129&docid=69125812&x=501',
		'title': '',
		'imageId': '69125812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974129&docid=69125822&x=501',
		'title': '',
		'imageId': '69125822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974129&docid=69125814&x=501',
		'title': '',
		'imageId': '69125814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974129&docid=69125829&x=501',
		'title': '',
		'imageId': '69125829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974129&docid=69125810&x=501',
		'title': '',
		'imageId': '69125810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974129&docid=69125815&x=501',
		'title': '',
		'imageId': '69125815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974129&docid=69125817&x=501',
		'title': '',
		'imageId': '69125817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974129&docid=69125819&x=501',
		'title': '',
		'imageId': '69125819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974129&docid=69125828&x=501',
		'title': '',
		'imageId': '69125828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974129&docid=69125830&x=501',
		'title': '',
		'imageId': '69125830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974129&docid=69125823&x=501',
		'title': '',
		'imageId': '69125823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974129&docid=69125827&x=501',
		'title': '',
		'imageId': '69125827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974129&docid=69125824&x=501',
		'title': '',
		'imageId': '69125824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974129&docid=69125816&x=501',
		'title': '',
		'imageId': '69125816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974129&docid=69125826&x=501',
		'title': '',
		'imageId': '69125826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974129';

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